Search for generate

  1. Search 7.x for generate
  2. Search 9.5.x for generate
  3. Search 8.9.x for generate
  4. Search 10.3.x for generate
  5. Other projects
Title Object type File name Summary
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
FakeLogEntries::generateLogEntries function core/modules/dblog/tests/src/Functional/FakeLogEntries.php Generates a number of random database log events.
FieldItemBase::generateSampleValue function core/lib/Drupal/Core/Field/FieldItemBase.php Generates placeholder field values.
FieldItemInterface::generateSampleValue function core/lib/Drupal/Core/Field/FieldItemInterface.php Generates placeholder field values.
FieldItemList::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemList.php Populates a specified number of field items with valid sample data.
FieldItemListInterface::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemListInterface.php Populates a specified number of field items with valid sample data.
FieldKernelTestBase::_generateTestFieldValues function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Generate random values for a field_test field.
FieldTestBase::_generateTestFieldValues function core/modules/field/tests/src/Functional/FieldTestBase.php Generate random values for a field_test field.
FileItem::generateSampleValue function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileUploadHandler::generateLockId function core/modules/file/src/Upload/FileUploadHandler.php Generates a lock ID based on the file URI.
FileUploadResource::generateLockIdFromFileUri function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Generates a lock ID based on the file URI.
FileUrlGenerator::doGenerateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generate function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates a root-relative web-accessible URL object.
FileUrlGenerator::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generatePath function core/lib/Drupal/Core/File/FileUrlGenerator.php Generate a URL path.
FileUrlGenerator::generateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates a root-relative web-accessible URL string.
FileUrlGeneratorInterface::generate function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL object.
FileUrlGeneratorInterface::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates an absolute web-accessible URL string.
FileUrlGeneratorInterface::generateString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL string.
FileUrlGeneratorTest::providerGenerateURI function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Data provider.
FileUrlGeneratorTest::testGenerateAbsoluteStringMissingStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Tests missing stream handler.
FileUrlGeneratorTest::testGenerateMissingStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Tests missing stream handler.
FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Tests missing stream handler.
FileUrlGeneratorTest::testGenerateURI function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php @covers ::generate
FileUrlGeneratorTest::testGenerateURIWithSchema function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php @covers ::generate
FloatItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Generates placeholder field values.
ForumTest::generateForumTopics function core/modules/forum/tests/src/Functional/ForumTest.php Generates forum topics.
generate-d6-content.sh file core/scripts/generate-d6-content.sh #!/usr/bin/env php
<?php

/**
* Generate content for a Drupal 6 database to test the upgrade process.
*
* Run this script at the root of an existing Drupal 6 installation.
* Steps to use this generation script:
* - Install drupal 6.
* - Run…
generate-d7-content.sh file core/scripts/generate-d7-content.sh #!/usr/bin/env php
<?php

/**
* Generate content for a Drupal 7 database to test the upgrade process.
*
* Run this script at the root of an existing Drupal 7 installation.
*
* Steps to use this generation script:
* - Install drupal 7.
* -…
generate-proxy-class.php file core/scripts/generate-proxy-class.php A script to generate proxy classes for lazy services.
GenerateAutoloadReferenceFile class composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates an 'autoload.php' that includes the autoloader created by Composer.
GenerateAutoloadReferenceFile.php file composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php
GenerateAutoloadReferenceFile::autoLoadContents function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Builds the contents of the autoload file.
GenerateAutoloadReferenceFile::autoloadFileCommitted function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Determines whether or not the autoload file has been committed.
GenerateAutoloadReferenceFile::autoloadPath function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates a scaffold file path object for the autoload file.
GenerateAutoloadReferenceFile::generateAutoload function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php Generates the autoload file at the specified location.
GenerateAutoloadReferenceFile::__construct function composer/Plugin/Scaffold/GenerateAutoloadReferenceFile.php This class provides only static methods.
GeneratedButton class core/lib/Drupal/Core/GeneratedButton.php This class holds a <button> generated from the <button> route.
GeneratedButton.php file core/lib/Drupal/Core/GeneratedButton.php
GeneratedButton::TAG constant core/lib/Drupal/Core/GeneratedButton.php HTML tag to use when building the link.
GeneratedLink class core/lib/Drupal/Core/GeneratedLink.php Used to return generated links, along with associated cacheability metadata.
GeneratedLink.php file core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::$generatedLink property core/lib/Drupal/Core/GeneratedLink.php The HTML string value containing a link.
GeneratedLink::count function core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::getGeneratedLink function core/lib/Drupal/Core/GeneratedLink.php Gets the generated link.
GeneratedLink::jsonSerialize function core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::setGeneratedLink function core/lib/Drupal/Core/GeneratedLink.php Sets the generated link.
GeneratedLink::TAG constant core/lib/Drupal/Core/GeneratedLink.php HTML tag to use when building the link.
GeneratedLink::__toString function core/lib/Drupal/Core/GeneratedLink.php Returns markup.
GeneratedNoLink class core/lib/Drupal/Core/GeneratedNoLink.php This class holds a <span> generated from the <nolink> route.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.