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 10.3.x for generate
  5. Search main for generate
  6. Other projects
Title Object type File name Summary
GenerateThemeTest::testCustomStarterkit function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests the generate-theme command on a theme without a version number.
GenerateThemeTest::testDeleteDirectory function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testDevSnapshot function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests the generate-theme command on a dev snapshot of Drupal core.
GenerateThemeTest::testExcludedGitFolder function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testGeneratingFromAnotherTheme function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests generating a theme from another Starterkit enabled theme.
GenerateThemeTest::testIgnoredDotFiles function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testIncludeDotFiles function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testInfoOverrides function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoEdit function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoEditMissingFilesWarning function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoRename function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testNoRenameMissingFilesWarning function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenerateThemeTest::testSimpleStarterkitTheme function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests generating theme from a simple named Starterkit enabled theme.
GenerateThemeTest::testStarterKitFlag function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests that only themes with `starterkit` flag can be used.
GenerateThemeTest::testThemeDoesNotExist function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php Tests themes that do not exist return an error.
GenerateThemeTest::writeStarterkitConfig function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
Heading::generateCheckboxForHeadingOption function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php Generates checkbox for a CKEditor 5 heading plugin config option.
HtmxTestAttachmentsController::generateHtmxButton function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Static helper to for reusable render array.
IconExtractorSettingsForm::generateSettingsForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Create the Drupal Form API element from the settings.
IconExtractorSettingsFormTest::testGenerateSettingsForm function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Test the IconExtractorSettingsForm::generateSettingsForm method.
IconExtractorSettingsFormTest::testGenerateSettingsFormWithValues function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Test the IconExtractorSettingsForm::generateSettingsForm method.
ImageItem::generateSampleValue function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Generates placeholder field values.
IntegerItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php Generates placeholder field values.
LanguageItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php Generates placeholder field values.
LayoutSectionItem::generateSampleValue function core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php Generates placeholder field values.
LinkGenerator::doGenerate function core/lib/Drupal/Core/Utility/LinkGenerator.php Generates the link.
LinkGenerator::generate function core/lib/Drupal/Core/Utility/LinkGenerator.php For anonymous users, the "active" class will be calculated on the server,
because most sites serve each anonymous user the same cached page anyway.
For authenticated users, the "active" class will be calculated on the
client…
LinkGeneratorInterface::generate function core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php Renders a link to a URL.
LinkGeneratorTest::providerTestGenerateHrefs function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Provides test data for testing the link method.
LinkGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a route.
LinkGeneratorTest::testGenerateActive function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the active class on the link method.
LinkGeneratorTest::testGenerateAttributes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with additional attributes.
LinkGeneratorTest::testGenerateBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the LinkGenerator's support for collecting bubbleable metadata.
LinkGeneratorTest::testGenerateButton function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <button> route.
LinkGeneratorTest::testGenerateExternal function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with an external URL.
LinkGeneratorTest::testGenerateHrefs function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with certain hrefs.
LinkGeneratorTest::testGenerateNoLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <nolink> route.
LinkGeneratorTest::testGenerateNone function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <none> route.
LinkGeneratorTest::testGenerateOptions function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with arbitrary passed options.
LinkGeneratorTest::testGenerateParametersAsQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options via parameters.
LinkGeneratorTest::testGenerateQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options.
LinkGeneratorTest::testGenerateTwice function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests whether rendering the same link twice works.
LinkGeneratorTest::testGenerateUrlWithQuotes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a URL containing double quotes.
LinkGeneratorTest::testGenerateWithAlterHook function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests altering the URL object using hook_link_alter().
LinkGeneratorTest::testGenerateWithHtml function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with html.
LinkGeneratorTest::testGenerateXss function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with a script tab.
LinkItem::generateSampleValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Generates placeholder field values.
ListItemBase::generateSampleValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Generates placeholder field values.
MediaKernelTestBase::generateMedia function core/modules/media/tests/src/Kernel/MediaKernelTestBase.php Helper to generate a media item.
MetadataBubblingUrlGenerator::generate function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php

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