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
DateTimePlus::prepareTimezone function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input timezone value.
DirectoryTest::testMultiplePrepareDirectory function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests asynchronous directory creation.
DistributionProfileExistingSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php Prepares the current environment for running the test.
DistributionProfileTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php Prepares the current environment for running the test.
DistributionProfileTranslationQueryTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php Prepares the current environment for running the test.
DistributionProfileTranslationTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php Prepares the current environment for running the test.
DrupalDateTime::prepareTimezone function core/lib/Drupal/Core/Datetime/DrupalDateTime.php Overrides prepareTimezone().
DrupalFlushAllCachesInInstallerTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php Prepares the current environment for running the test.
DrupalKernel::$prepared property core/lib/Drupal/Core/DrupalKernel.php Whether essential services have been set up properly by preHandle().
EntityAccessControlHandler::prepareUser function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Loads the current account object, if it does not exist yet.
EntityDenormalizerBase::prepareInput function core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php Prepares the input data to create the entity.
EntityDisplayModeAddForm::prepareEntity function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Prepares the entity object before the form is built first.
EntityField::prepareItemsByDelta function core/modules/views/src/Plugin/views/field/EntityField.php Adapts the $items according to the delta configuration.
EntityForm::prepareEntity function core/lib/Drupal/Core/Entity/EntityForm.php Prepares the entity object before the form is built first.
EntityForm::prepareInvokeAll function core/lib/Drupal/Core/Entity/EntityForm.php Invokes the specified prepare hook variant.
EntityFormModeAddForm::prepareEntity function core/modules/field_ui/src/Form/EntityFormModeAddForm.php Prepares the entity object before the form is built first.
EntityReferenceFormatterBase::prepareView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Loads the entities referenced in that field across all the entities being
viewed.
EntityTestForm::prepareEntity function core/modules/system/tests/modules/entity_test/src/EntityTestForm.php Prepares the entity object before the form is built first.
EntityTypeInfo::entityPrepareForm function core/modules/content_moderation/src/EntityTypeInfo.php Replaces the entity form entity object with a proper revision object.
entity_test_entity_prepare_view function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_entity_prepare_view().
Extension::prepareRow function core/modules/system/src/Plugin/migrate/source/Extension.php Adds additional data to the row.
Field::prepareRow function core/modules/field/src/Plugin/migrate/source/d6/Field.php Adds additional data to the row.
Field::prepareRow function core/modules/field/src/Plugin/migrate/source/d7/Field.php Adds additional data to the row.
FieldInstance::prepareRow function core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php Adds additional data to the row.
FieldInstance::prepareRow function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php Adds additional data to the row.
FieldTest::providerTestPrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php Provides test data for testPrepareItemsByDelta().
FieldTest::testPrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::prepareItemsByDelta
FieldTestEntityField::executePrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
File::prepareRow function core/modules/file/src/Plugin/migrate/source/d6/File.php Adds additional data to the row.
File::prepareRow function core/modules/file/src/Plugin/migrate/source/d7/File.php Adds additional data to the row.
FileMediaFormatterBase::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Prepare the attributes according to the settings.
FileMigrationTestTrait::prepareMigration function core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php
FileSystem::prepareDestination function core/lib/Drupal/Core/File/FileSystem.php Prepares the destination for a file copy or move operation.
FileSystem::prepareDirectory function core/lib/Drupal/Core/File/FileSystem.php Checks that the directory exists and is writable.
FileSystemInterface::prepareDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Checks that the directory exists and is writable.
FileUploadForm::prepareMediaEntityForSave function core/modules/media_library/src/Form/FileUploadForm.php Prepares a created media item to be permanently saved.
FileUploadResource::prepareFilename function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Prepares the filename to strip out any malicious extensions.
FileVideoFormatter::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Prepare the attributes according to the settings.
FilterBase::prepare function core/modules/filter/src/Plugin/FilterBase.php Prepares the text for processing.
FilterFormat::prepareRow function core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php Adds additional data to the row.
FilterFormat::prepareRow function core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php Adds additional data to the row.
FilterHtml::prepareAttributeValues function core/modules/filter/src/Plugin/Filter/FilterHtml.php Helper function to prepare attribute values including wildcards.
FilterInterface::prepare function core/modules/filter/src/Plugin/FilterInterface.php Prepares the text for processing.
FilterPluginBase::prepareFilterSelectOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Sanitizes the HTML select element's options.
FormatterBase::prepareView function core/lib/Drupal/Core/Field/FormatterBase.php Allows formatters to load information for field values being displayed.
FormatterInterface::prepareView function core/lib/Drupal/Core/Field/FormatterInterface.php Allows formatters to load information for field values being displayed.
FormatterPluginManager::prepareConfiguration function core/lib/Drupal/Core/Field/FormatterPluginManager.php Merges default values for formatter configuration.
FormBuilder::prepareForm function core/lib/Drupal/Core/Form/FormBuilder.php Prepares a structured form array.
FormBuilderInterface::prepareForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Prepares a structured form array.
FormState::prepareCallback function core/lib/Drupal/Core/Form/FormState.php Converts support notations for a form callback to a valid callable.

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