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
AjaxCssForm::generateResponse function core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php Generates an AJAX response to add CSS to a CKEditor Text Editor instance.
BookTestTrait::generateOutlinePattern function core/modules/book/tests/src/Functional/BookTestTrait.php Creates a regular expression to check for the sub-nodes in the outline.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
ForumTest::generateForumTopics function core/modules/forum/tests/src/Functional/ForumTest.php Generates forum topics.
generate-d6-content.sh file core/scripts/generate-d6-content.sh #!/usr/bin/env php
<?php

/**
* Generate content for a Drupal 6 database to test the upgrade process.
*
* Run this script at the root of an existing Drupal 6 installation.
* Steps to use this generation script:
* - Install drupal 6.
* - Run…
generate-d7-content.sh file core/scripts/generate-d7-content.sh #!/usr/bin/env php
<?php

/**
* Generate content for a Drupal 7 database to test the upgrade process.
*
* Run this script at the root of an existing Drupal 7 installation.
*
* Steps to use this generation script:
* - Install drupal 7.
* -…
GenerateThemeTest class core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme commands.
GenerateThemeTest.php file core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php
GenerateThemeTest::$php property core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php The PHP executable path.
GenerateThemeTest::assertThemeExists function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Asserts the theme exists. Returns the parsed *.info.yml file.
GenerateThemeTest::generateThemeFromStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Generates PHP process to generate a theme from core's starterkit theme.
GenerateThemeTest::setUp function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php
GenerateThemeTest::test function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command.
GenerateThemeTest::testContribStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a release version number.
GenerateThemeTest::testContribStarterkitDevSnapshot function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a dev version number.
GenerateThemeTest::testContribStarterkitDevSnapshotWithGitNotInstalled function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme with a dev version without git.
GenerateThemeTest::testCustomStarterkit function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a theme without a version number.
GenerateThemeTest::testDevSnapshot function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests the generate-theme command on a dev snapshot of Drupal core.
GenerateThemeTest::testGeneratingFromAnotherTheme function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests generating a theme from another Starterkit enabled theme.
GenerateThemeTest::testStarterKitFlag function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests that only themes with `starterkit` flag can be used.
GenerateThemeTest::testThemeDoesNotExist function core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php Tests themes that do not exist return an error.
Internal::generateACFSettings function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php Builds the ACF part of the CKEditor JS settings.
Internal::generateFormatTagsSetting function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php Builds the "format_tags" configuration part of the CKEditor JS settings.
JsCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Generate a hash for a given group of JavaScript assets.
MetadataGenerator::generateEntityMetadata function core/modules/quickedit/src/MetadataGenerator.php Generates in-place editing metadata for an entity.
MetadataGenerator::generateFieldMetadata function core/modules/quickedit/src/MetadataGenerator.php Generates in-place editing metadata for an entity field.
MetadataGeneratorInterface::generateEntityMetadata function core/modules/quickedit/src/MetadataGeneratorInterface.php Generates in-place editing metadata for an entity.
MetadataGeneratorInterface::generateFieldMetadata function core/modules/quickedit/src/MetadataGeneratorInterface.php Generates in-place editing metadata for an entity field.
PhpassHashedPassword::generateSalt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Generates a random base 64-encoded salt prefixed with hash settings.
RouterLegacyTest::testGenerateDeprecated function core/tests/Drupal/Tests/Core/Routing/RouterLegacyTest.php @covers ::generate[[api-linebreak]]
ServiceIdHashTrait::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php Implements \Drupal\Component\DependencyInjection\ContainerInterface::generateServiceIdHash()
StylesCombo::generateStylesSetSetting function core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php Builds the "stylesSet" configuration part of the CKEditor JS settings.
TemporaryJsonapiFileFieldUploader::generateLockIdFromFileUri function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Generates a lock ID based on the file URI.

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