Search for prepare

  1. Search 7.x for prepare
  2. Search 9.5.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
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 if required arguments are passed in and adds defaults for non passed
in optional arguments.
InnocuousTest::prepareEnvironment function core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php Override to prevent any environmental side-effects.
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.
InstallerCustomConfigDirectoryCreateTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerCustomConfigDirectoryCreateTest.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.
InstallerExistingConfigNoSystemSiteTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.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.
InstallerExistingSettingsMismatchProfileTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsMismatchProfileTest.php Configures a preexisting settings.php file without an install_profile
setting before invoking the interactive installer.
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.
InstallerExistingSettingsReadOnlyMismatchProfileTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsReadOnlyMismatchProfileTest.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.
InstallerSkipPermissionHardeningTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php Prepares the current environment for running the test.
KernelTestBase::beforePrepareEnvironment function core/modules/simpletest/src/KernelTestBase.php Act on global state information before the environment is altered for a test.
KernelTestBase::prepareConfigDirectories function core/modules/simpletest/src/KernelTestBase.php Create and set new configuration directories.
KernelTestBase::prepareTemplate function core/tests/Drupal/KernelTests/KernelTestBase.php
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.
Media::prepareSave function core/modules/media/src/Entity/Media.php Sets the media entity's field values from the source's metadata.
MediaSourceBase::prepareFormDisplay function core/modules/media/src/MediaSourceBase.php Prepares the media type fields for this source in the form display.
MediaSourceBase::prepareViewDisplay function core/modules/media/src/MediaSourceBase.php Prepares the media type fields for this source in the view display.
MediaSourceInterface::prepareFormDisplay function core/modules/media/src/MediaSourceInterface.php Prepares the media type fields for this source in the form display.
MediaSourceInterface::prepareViewDisplay function core/modules/media/src/MediaSourceInterface.php Prepares the media type fields for this source in the view display.
MemoryBackend::prepareItem function core/lib/Drupal/Core/Cache/MemoryBackend.php Prepares a cached item.

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