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
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.
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.
CKEditor5ImageController::prepareFilename function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Prepares the filename to strip out any malicious extensions.
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/tests/modules/d6_comment_test/src/Plugin/migrate/source/d6/Comment.php Allow access to protected method.
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/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.
CommentTest::testPrepareCommentDeprecation function core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php @group legacy
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::prepare function core/modules/sqlite/src/Driver/Database/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::prepareStatement function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/sqlite/src/Driver/Database/sqlite/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::testPrepare function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests deprecation of Connection::prepare.
DatabaseExceptionWrapperTest::testPrepareQuery function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests deprecation of Connection::prepareQuery.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
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::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparationWithThrowExceptionOption function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement with throw_exception option set.
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.

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