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. Search 11.x for generate
  6. Other projects
Title Object type File name Summary
RouterUnsupportedTest::testGenerateUnsupported function core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php Tests generate unsupported.
SchemaDefinitionTest::testInvalidPrimaryKeyForGeneratedColumn function core/tests/Drupal/Tests/Core/Database/SchemaDefinitionTest.php Tests that a generated column cannot be part of the primary key.
SchemaDefinitionTest::testInvalidSerialForGeneratedExpression function core/tests/Drupal/Tests/Core/Database/SchemaDefinitionTest.php Tests Serial column.
SchemaTest::checkGeneratedColumnStorage function core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php Checks that the database computes a column with the given storage.
SchemaTest::checkGeneratedColumnStorage function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php Checks that the database computes a column with the given storage.
SchemaTest::checkGeneratedColumnStorage function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Checks that the database computes a column with the given storage.
SchemaTest::testGeneratedColumnDefinitionRecoveryFailure function core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php Tests introspecting a table whose generated column cannot be recovered.
SchemaTest::testGeneratedInvisiblePrimaryKey function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php Tests adding a primary key when sql_generate_invisible_primary_key is on.
SchematicNormalizerFallbackTrait::generateNoSchemaAvailableMessage function core/modules/serialization/src/Normalizer/SchematicNormalizerFallbackTrait.php
SessionConfigurationTest::providerTestGeneratedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie domain test.
SessionConfigurationTest::providerTestGeneratedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie name test.
SessionConfigurationTest::testGeneratedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.cookie_domain ini settings is computed correctly.
SessionConfigurationTest::testGeneratedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.name ini settings is computed correctly.
SessionManager::regenerate function core/lib/Drupal/Core/Session/SessionManager.php
SessionTest::testSessionSaveRegenerate function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests session writing and regeneration.
SessionTestTrait::generateSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Generates a session cookie name.
ShortcutTestBase::generateShortcutSet function core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php Creates a generic shortcut set.
SkipOp::generateContents function composer/Plugin/Scaffold/Operations/SkipOp.php Load the scaffold contents or otherwise generate what is needed.
StatusItem::generateSampleValue function core/modules/user/src/StatusItem.php Generates placeholder field values.
StatusMessages::generatePlaceholder function core/lib/Drupal/Core/Render/Element/StatusMessages.php Render API callback: Generates a placeholder.
StorageComparerTest::generateRandomData function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php Generate random data in a config storage.
StorageCopyTraitTest::generateRandomData function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Generate random data in a config storage.
StringItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php Generates placeholder field values.
StringItemTest::testGenerateSampleValue function core/tests/Drupal/Tests/Core/Field/StringItemTest.php Tests generating sample values.
StringLongItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringLongItem.php Generates placeholder field values.
SupernovaGenerator::generate function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
SupernovaGenerator::generateFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Generates a URL or path for a specific route based on the given parameters.
TelephoneItem::generateSampleValue function core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php Generates placeholder field values.
TestFileCreationTrait::$generatedTestFiles property core/tests/Drupal/Tests/TestFileCreationTrait.php Whether the files were copied to the test files directory.
TestFileCreationTrait::generateFile function core/tests/Drupal/Tests/TestFileCreationTrait.php Generates a test file.
TextItemBase::generateSampleValue function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php Generates placeholder field values.
TextSummary::generate function core/modules/text/src/TextSummary.php Generates a trimmed, formatted version of a text field value.
TimestampItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php Generates placeholder field values.
TimeZoneItem::generateSampleValue function core/modules/user/src/TimeZoneItem.php Generates placeholder field values.
Token::generate function core/lib/Drupal/Core/Utility/Token.php Generates replacement values for a list of tokens.
TwigExtensionTest::testEscapeWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests escape with generated link.
TwigExtensionTest::testRenderVarWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests render var with generated link.
TwigPhpStorageCache::generateKey function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
UpsertTest::testDegeneratedCompositeKeyUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests an upsert with a composite key and no columns to update.
UpsertTest::testDegeneratedMultiValueUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests a multi-value upsert that has no columns to update.
UpsertTest::testDegeneratedSingleValueUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests a single-value upsert that has no columns to update.
UriItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php Generates placeholder field values.
UriItemTest::testGenerateSampleValue function core/tests/Drupal/Tests/Core/Field/UriItemTest.php Tests generating sample values.
UrlGenerator::doGenerate function core/lib/Drupal/Core/Routing/UrlGenerator.php Substitute the route parameters into the route path.
UrlGenerator::generate function core/lib/Drupal/Core/Routing/UrlGenerator.php
UrlGenerator::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorInterface::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorTest::assertGenerateFromRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output.
UrlGeneratorTest::testGenerateWithPathProcessorChangingOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests generate with path processor changing options.
UrlGeneratorTest::testGenerateWithRouteNameInOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests that route name and parameters are passed to path processors.

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