Search for prepare

  1. Search 7.x for prepare
  2. Search 9.5.x for prepare
  3. Search 8.9.x for prepare
  4. Search 10.3.x for prepare
  5. Other projects
Title Object type File name Summary
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
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
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
EntityTestHooks::entityPrepareView function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_prepare_view().
EntityTypeInfo::entityPrepareForm function core/modules/content_moderation/src/EntityTypeInfo.php Replaces the entity form entity object with a proper revision object.
Extension::prepareRow function core/modules/system/src/Plugin/migrate/source/Extension.php
Field::prepareRow function core/modules/field/src/Plugin/migrate/source/d6/Field.php
Field::prepareRow function core/modules/field/src/Plugin/migrate/source/d7/Field.php
FieldInstance::prepareRow function core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php
FieldInstance::prepareRow function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php
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
File::prepareRow function core/modules/file/src/Plugin/migrate/source/d7/File.php
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
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
FileVideoFormatter::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php
FilterBase::prepare function core/modules/filter/src/Plugin/FilterBase.php
FilterFormat::prepareRow function core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php
FilterFormat::prepareRow function core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php
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
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
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
FormStateDecoratorBase::prepareCallback function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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
forum_migrate_d7_taxonomy_vocabulary_prepare_row function core/modules/forum/forum.module Implements hook_migrate_MIGRATION_ID_prepare_row().
forum_migrate_prepare_row function core/modules/forum/forum.module Implements hook_migrate_prepare_row().

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