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
Action::prepareRow function core/modules/action/src/Plugin/migrate/source/Action.php Adds additional data to the row.
AddFormBase::prepareMediaEntityForSave function core/modules/media_library/src/Form/AddFormBase.php Prepares a created media item to be permanently saved.
AjaxResponseTest::testPrepareResponseForIeFormRequestsWithFileUpload function core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php Tests the support for IE specific headers in file uploads.
AnnotatedClassDiscovery::prepareAnnotationDefinition function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Prepares the annotation definition.
AnnotatedClassDiscovery::prepareAnnotationDefinition function core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Prepares the annotation definition.
AnnotatedClassDiscoveryAutomatedProviders::prepareAnnotationDefinition function core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php Prepares the annotation definition.
ApcuBackend::prepareItem function core/lib/Drupal/Core/Cache/ApcuBackend.php Prepares a cached item.
AudioFile::prepareViewDisplay function core/modules/media/src/Plugin/media/Source/AudioFile.php Prepares the media type fields for this source in the view display.
Block::prepareRow function core/modules/block/src/Plugin/migrate/source/Block.php Adds additional data to the row.
BlockCustomTranslation::prepareRow function core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Adds additional data to the row.
BlockTranslation::prepareRow function core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php Adds additional data to the row.
book_node_prepare_form function core/modules/book/book.module Implements hook_ENTITY_TYPE_prepare_form() for node entities.
BrowserTestBaseUserAgentTest::prepareRequest function core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php Prepare for a request to testing site.
CachePluginBase::prepareViewResult function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Prepares the view result before putting it into cache.
Color::prepareRow function core/modules/color/src/Plugin/migrate/source/d7/Color.php Adds additional data to the row.
Comment::prepareComment function core/modules/comment/src/Plugin/migrate/source/d6/Comment.php Provides a BC layer for deprecated sources.
Comment::prepareRow function core/modules/comment/src/Plugin/migrate/source/d6/Comment.php Adds additional data to the row.
Comment::prepareRow function core/modules/comment/src/Plugin/migrate/source/d7/Comment.php Adds additional data to the row.
CommentEntityTranslation::prepareRow function core/modules/comment/src/Plugin/migrate/source/d7/CommentEntityTranslation.php Adds additional data to the row.
CommentType::prepareRow function core/modules/comment/src/Plugin/migrate/source/d7/CommentType.php Adds additional data to the row.
Config::prepareRow function core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php Adds additional data to the row.
ConfigDependencyManager::prepareMultisort function core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php Extracts data from the graph for use in array_multisort().
ConfigEntityDenormalizer::prepareInput function core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php Prepares the input data to create the entity.
ConfigImportUITest::prepareSiteNameUpdate function core/modules/config/tests/src/Functional/ConfigImportUITest.php
ConfigInstallProfileUnmetDependenciesTest::prepareEnvironment function core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php Prepares the current environment for running the test.
Connection::prepare function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Prepares a statement for execution and returns a statement object
Connection::prepare function core/lib/Drupal/Core/Database/Connection.php Prepares a statement for execution and returns a statement object
Connection::prepareQuery function core/lib/Drupal/Core/Database/Connection.php Prepares a query string and returns the prepared statement.
Connection::prepareQuery function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Prepares a query string and returns the prepared statement.
Connection::prepareQuery function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Prepares a query string and returns the prepared statement.
ContactCategory::prepareRow function core/modules/contact/src/Plugin/migrate/source/ContactCategory.php Adds additional data to the row.
ContentEntityDenormalizer::prepareInput function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php Prepares the input data to create the entity.
ContentEntityForm::prepareEntity function core/lib/Drupal/Core/Entity/ContentEntityForm.php Prepares the entity object before the form is built first.
ContentTranslationController::prepareTranslation function core/modules/content_translation/src/Controller/ContentTranslationController.php Populates target values with the source values.
content_moderation_entity_prepare_form function core/modules/content_moderation/content_moderation.module Implements hook_entity_prepare_form().
DatabaseBackend::prepareItem function core/lib/Drupal/Core/Cache/DatabaseBackend.php Prepares a cached item.
DatabaseExceptionWrapperTest::testPreparedStatement function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests the expected database exception thrown for prepared statements.
DateTimePlus::prepareArray function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a complete array from a possibly incomplete array of date parts.
DateTimePlus::prepareFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input format value.
DateTimePlus::prepareTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input time value.
DateTimePlus::prepareTimezone function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input timezone value.
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().
DrupalKernel::$prepared property core/lib/Drupal/Core/DrupalKernel.php Whether essential services have been set up properly by preHandle().
DrupalKernel::prepareLegacyRequest function core/lib/Drupal/Core/DrupalKernel.php Prepare the kernel for handling a request without handling the request.
DrupalKernelInterface::prepareLegacyRequest function core/lib/Drupal/Core/DrupalKernelInterface.php Prepare the kernel for handling a request without handling the request.
DrupalKernelTest::testPrepareLegacyRequest function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php @group legacy
@expectedDeprecation Drupal\Core\DrupalKernel::prepareLegacyRequest is deprecated drupal:8.0.0 and is removed from drupal:9.0.0. Use DrupalKernel::boot() and DrupalKernel::preHandle() instead. See https://www.drupal.org/node/3070678

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