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
AccessAwareRouter::generate function core/lib/Drupal/Core/Routing/AccessAwareRouter.php
AssetGroupSetHashTrait::generateHash function core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php Generates a hash for an array of asset groups.
BooleanItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php Generates placeholder field values.
BundlePermissionHandlerTrait::generatePermissions function core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php Builds a permissions array for the supplied bundles.
Com::generate function core/lib/Drupal/Component/Uuid/Com.php Generates a Universally Unique IDentifier (UUID).
ComponentElement::generateComponentTemplate function core/lib/Drupal/Core/Render/Element/ComponentElement.php Generates the template to render the component.
ComponentNegotiator::generateCacheKey function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Generates the cache key for the current theme and the provided component.
ContainerInterface::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Generate a unique hash for a service object.
CsrfTokenGeneratorTest::testGenerateSeedOnGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests that a new token seed is generated upon first use.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
DbDumpCommand::generateScript function core/lib/Drupal/Core/Command/DbDumpCommand.php Generates the database script.
DecimalItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php Generates placeholder field values.
DefaultMenuLinkTreeManipulators::generateIndexAndSort function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Generates a unique index and sorts by it.
DefaultMenuLinkTreeManipulatorsTest::testGenerateIndexAndSort function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the generateIndexAndSort() tree manipulator.
DefaultPasswordGenerator::generate function core/lib/Drupal/Core/Password/DefaultPasswordGenerator.php Generates a password.
DefaultPasswordGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php @covers ::generate[[api-linebreak]]
DefaultTableMapping::generateFieldTableName function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Generates a safe and unambiguous field table name.
DrupalKernel::generateServiceIdHash function core/lib/Drupal/Core/DrupalKernel.php Generate a unique hash for a service object.
drupal_generate_test_ua function core/includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for tests.
EmailItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php Generates placeholder field values.
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedByGenerateBundledEntity().
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @covers ::isSatisfiedBy[[api-linebreak]]
@covers ::dataTypeMatches[[api-linebreak]]
@covers ::getSampleValues[[api-linebreak]]
@covers ::getConstraintObjects[[api-linebreak]]
EntityReferenceItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityStorageBaseTest::generateEntityInterface function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Generate a mocked entity object.
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.
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.
FloatItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php Generates placeholder field values.
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.