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
Action::prepareRow function core/modules/system/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/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Prepares the annotation definition.
AnnotatedClassDiscovery::prepareAnnotationDefinition function core/lib/Drupal/Component/Annotation/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.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeDiscoveryWithAnnotations::prepareAnnotationDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Prepares the annotation definition.
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.
Comment::prepareRow function core/modules/comment/src/Plugin/migrate/source/d7/Comment.php Adds additional data to the row.
Comment::prepareRow function core/modules/comment/src/Plugin/migrate/source/d6/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/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::prepareStatement function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/lib/Drupal/Core/Database/Connection.php Returns a prepared statement given a SQL string.
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::testPrepareStatementFailOnExecution function core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
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.
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.

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