Search for prepare

  1. Search 7.x for prepare
  2. Search 8.9.x for prepare
  3. Search 10.3.x for prepare
  4. Search 11.x for prepare
  5. Other projects
Title Object type File name Summary
FormStateDecoratorBase::prepareCallback function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Converts support notations for a form callback to a valid callable.
FormStateDecoratorBaseTest::providerPrepareCallback function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testPrepareCallback().
FormStateDecoratorBaseTest::testPrepareCallback function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::prepareCallback
FormStateInterface::prepareCallback function core/lib/Drupal/Core/Form/FormStateInterface.php Converts support notations for a form callback to a valid callable.
FormStateTest::testPrepareCallbackArray function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FunctionalTestSetupTrait::prepareEnvironment function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Prepares the current environment for running the test.
FunctionalTestSetupTrait::prepareRequestForGenerator function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Creates a mock request and sets it on the generator.
FunctionalTestSetupTrait::prepareSettings function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Prepares site settings and services before installation.
HandlerFieldFieldTest::prepareView function core/modules/field/tests/src/Kernel/Views/HandlerFieldFieldTest.php Sets up the testing view with random field data.
HelpSearch::prepareResults function core/modules/help_topics/src/Plugin/Search/HelpSearch.php Prepares search results for display.
hook_entity_prepare_form function core/lib/Drupal/Core/Entity/entity.api.php Acts on an entity object about to be shown on an entity form.
hook_entity_prepare_view function core/lib/Drupal/Core/Entity/entity.api.php Act on entities as they are being prepared for view.
hook_ENTITY_TYPE_prepare_form function core/lib/Drupal/Core/Entity/entity.api.php Acts on a particular type of entity object about to be in an entity form.
hook_migrate_MIGRATION_ID_prepare_row function core/modules/migrate/migrate.api.php Allows adding data to a row for a migration with the specified ID.
hook_migrate_prepare_row function core/modules/migrate/migrate.api.php Allows adding data to a row before processing it.
HtmlRenderer::prepare function core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php Prepares the HTML body: wraps the main content in #type 'page'.
Image::prepareViewDisplay function core/modules/media/src/Plugin/media/Source/Image.php Prepares the media type fields for this source in the view display.
ImageCachePreset::prepareRow function core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php Adds additional data to the row.
ImageEffectAddForm::prepareImageEffect function core/modules/image/src/Form/ImageEffectAddForm.php Converts an image effect ID into an object.
ImageEffectEditForm::prepareImageEffect function core/modules/image/src/Form/ImageEffectEditForm.php Converts an image effect ID into an object.
ImageEffectFormBase::prepareImageEffect function core/modules/image/src/Form/ImageEffectFormBase.php Converts an image effect ID into an object.
ImageStyles::prepareRow function core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php Adds additional data to the row.
ImageToolkitOperationBase::prepareArguments function core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php Checks for required arguments and adds optional argument defaults.
InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Prepares the current environment for running the test.
InstallerConfigDirectorySetNoDirectoryTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php Prepares the current environment for running the test.
InstallerEmptySettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php Prepares the current environment for running the test.
InstallerExistingBrokenDatabaseSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Prepares the current environment for running the test.
InstallerExistingConfigDirectoryTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigDirectoryTest.php Prepares the current environment for running the test.
InstallerExistingConfigExistingSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigExistingSettingsTest.php Partially configures a preexisting settings.php file before invoking the
interactive installer.
InstallerExistingConfigNoSystemSiteTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php Prepares the current environment for running the test.
InstallerExistingConfigSyncDirectoryMultilingualTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php Prepares the current environment for running the test.
InstallerExistingConfigTestBase::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php Prepares the current environment for running the test.
InstallerExistingDatabaseSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php Prepares the current environment for running the test.
InstallerExistingSettingsNoProfileTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php Configures a preexisting settings.php file without an install_profile
setting before invoking the interactive installer.
InstallerExistingSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php Fully configures a preexisting settings.php file before invoking the
interactive installer.
InstallerNonEnglishProfileWithoutLocaleModuleTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerNonEnglishProfileWithoutLocaleModuleTest.php Prepares the current environment for running the test.
InstallerPerformanceTest::prepareSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerPerformanceTest.php Prepares site settings and services before installation.
InstallerRouterTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php Prepares the current environment for running the test.
InstallerSkipPermissionHardeningTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php Prepares the current environment for running the test.
InstallerTranslationMultipleLanguageNonInteractiveTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Prepares the current environment for running the test.
Language::prepareRow function core/modules/language/src/Plugin/migrate/source/Language.php Adds additional data to the row.
LanguageContentSettings::prepareRow function core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php Adds additional data to the row.
LanguageContentSettings::prepareRow function core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php Adds additional data to the row.
LanguageContentSettingsTaxonomyVocabulary::prepareRow function core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php Adds additional data to the row.
LayoutBuilder::prepareLayout function core/modules/layout_builder/src/Element/LayoutBuilder.php Prepares a layout for use in the UI.
LayoutBuilderEvents::PREPARE_LAYOUT constant core/modules/layout_builder/src/LayoutBuilderEvents.php Name of the event fired in when preparing a layout builder element.
LayoutBuilderPrepareLayoutTest class core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php Tests the ability to alter a layout builder element while preparing.
LayoutBuilderPrepareLayoutTest.php file core/modules/layout_builder/tests/src/Functional/LayoutBuilderPrepareLayoutTest.php

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