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 11.x for generate
  5. Other projects
Title Object type File name Summary
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 #pre_render callback to generate 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
TelephoneItem::generateSampleValue function core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php Generates placeholder field values.
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.
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.
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 @covers ::escapeFilter
@covers ::bubbleArgMetadata
TwigExtensionTest::testRenderVarWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::renderVar
@covers ::bubbleArgMetadata
TwigPhpStorageCache::generateKey function core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
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
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 @covers \Drupal\Core\Routing\UrlGenerator::generateFromRoute
UserNameItem::generateSampleValue function core/modules/user/src/UserNameItem.php Generates placeholder field values.
UserNameItemTest::testGenerateSampleValue function core/modules/user/tests/src/Unit/UserNameItemTest.php Tests generating sample values.
UuidInterface::generate function core/lib/Drupal/Component/Uuid/UuidInterface.php Generates a Universally Unique IDentifier (UUID).
UuidItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UuidItem.php Generates placeholder field values.
UuidTest::testGenerateUuid function core/tests/Drupal/Tests/Component/Uuid/UuidTest.php Tests generating valid UUIDs.
View::generateDisplayId function core/modules/views/src/Entity/View.php Generates a display ID of a certain plugin type.
ViewExecutable::generateHandlerId function core/modules/views/src/ViewExecutable.php Generates a unique ID for a handler instance.
ViewExecutableTest::testGenerateHandlerId function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::generateHandlerId
_user_cancel_session_regenerate function core/modules/user/user.module Implements callback_batch_finished().

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