Search for generate

  1. Search 7.x for generate
  2. Search 8.9.x for generate
  3. Search 10.3.x for generate
  4. Search 11.x for generate
  5. Other projects
Title Object type File name Summary
PermissionsHashGeneratorInterface::generate function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
PermissionsHashGeneratorTest::testGenerateNoCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method with no cache returned.
PermissionsHashGeneratorTest::testGeneratePersistentCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
PermissionsHashGeneratorTest::testGenerateStaticCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
Php::generate function core/lib/Drupal/Component/Uuid/Php.php Generates a Universally Unique IDentifier (UUID).
PhpassHashedPassword::generateSalt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Generates a random base 64-encoded salt prefixed with hash settings.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php @covers ::createPlaceholder
@dataProvider providerCreatePlaceholderGeneratesValidHtmlMarkup
RandomTest::$firstStringGenerated property core/tests/Drupal/Tests/Component/Utility/RandomTest.php The first random string passed to the test callback.
RendererPlaceholdersTest::generatePlaceholderElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a placeholder.
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with placeholders at 3 levels.
ReplaceOp::generateContents function composer/Plugin/Scaffold/Operations/ReplaceOp.php Load the scaffold contents or otherwise generate what is needed.
ResourceObjectNormalizationCacher::generateLookupRenderArray function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Generates a lookup render array for a normalization.
ResourceResponseSubscriber::generateContext function core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php Generates a top-level JSON:API normalization context.
ResourceResponseSubscriberTest::generateRouteRequirements function core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php Generates route requirements based on supported formats.
ReverseContainer::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Generates an identifier for a service based on the object class and hash.
Router::generate function core/lib/Drupal/Core/Routing/Router.php
RouterLegacyTest::testGenerateDeprecated function core/tests/Drupal/Tests/Core/Routing/RouterLegacyTest.php @covers ::generate
ServiceIdHashTrait::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php Implements \Drupal\Component\DependencyInjection\ContainerInterface::generateServiceIdHash()
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 #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.
StringLongItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringLongItem.php Generates placeholder field values.
StylesCombo::generateStylesSetSetting function core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php Builds the "stylesSet" configuration part of the CKEditor JS settings.
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.
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.

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