Search for generate

  1. Search 7.x for generate
  2. Search 9.5.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
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.
Router::generate function core/lib/Drupal/Core/Routing/Router.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 for \Drupal\Core\Session\WriteSafeSessionHandler::setSessionWritable()
::isSessionWritable and \Drupal\Core\Session\SessionManager::regenerate().
SessionTestTrait::generateSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Generates a session cookie name.
ShortcutTestBase::generateShortcutSet function core/modules/shortcut/src/Tests/ShortcutTestBase.php Creates a generic shortcut set.
ShortcutTestBase::generateShortcutSet function core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php Creates a generic shortcut set.
SimpletestDeprecationTest::testDeprecatedSimpletestGenerateFile function core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php @expectedDeprecation simpletest_generate_file() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\TestFileCreationTrait::generateFile() instead. See https://www.drupal.org/node/3077768
simpletest_generate_file function core/modules/simpletest/simpletest.module Generates a test file.
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.
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.
TemporaryTableMapping::generateFieldTableName function core/lib/Drupal/Core/Entity/Sql/TemporaryTableMapping.php Generates a safe and unambiguous field table name.
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.
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

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