Search for ensure

  1. Search 7.x for ensure
  2. Search 9.5.x for ensure
  3. Search 8.9.x for ensure
  4. Search 11.x for ensure
  5. Other projects
Title Object type File name Summary
BatchStorage::ensureTableExists function core/lib/Drupal/Core/Batch/BatchStorage.php Check if the table exists and create it if not.
ComputedItemListTrait::ensureComputedValue function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php Ensures that values are only computed once.
DatabaseBackend::ensureBinExists function core/lib/Drupal/Core/Cache/DatabaseBackend.php Check if the cache bin exists and create it if not.
DatabaseBackend::ensureTableExists function core/lib/Drupal/Core/Flood/DatabaseBackend.php Check if the flood table exists and create it if not.
DatabaseCacheTagsChecksum::ensureTableExists function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Check if the cache tags table exists and create it if not.
DatabaseLockBackend::ensureTableExists function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Check if the semaphore table exists and create it if not.
DatabaseQueue::ensureTableExists function core/lib/Drupal/Core/Queue/DatabaseQueue.php Check if the table exists and create it if not.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Check if the table exists and create it if not.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/Config/DatabaseStorage.php Check if the config table exists and create it if not.
EntityListBuilder::ensureDestination function core/lib/Drupal/Core/Entity/EntityListBuilder.php Ensures that a destination is present on the given URL.
FileStorage::ensureDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the directory exists, has the right permissions, and a .htaccess.
FileStorage::ensureStorage function core/lib/Drupal/Core/Config/FileStorage.php Check if the directory exists and create it if not.
FunctionalTestSetupTrait::$apcuEnsureUniquePrefix property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php The flag to set 'apcu_ensure_unique_prefix' setting.
HtaccessWriter::ensure function core/lib/Drupal/Core/File/HtaccessWriter.php Creates a .htaccess file in each Drupal files directory if it is missing.
HtaccessWriterInterface::ensure function core/lib/Drupal/Core/File/HtaccessWriterInterface.php Creates a .htaccess file in each Drupal files directory if it is missing.
MatcherDumper::ensureTableExists function core/lib/Drupal/Core/Routing/MatcherDumper.php Checks if the tree table exists and create it if not.
MenuTreeStorage::ensureTableExists function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Checks if the tree table exists and create it if not.
ModuleExtensionList::ensureRequiredDependencies function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Marks dependencies of required modules as 'required', recursively.
PagerSelectExtender::ensureElement function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Ensure that there is an element associated with this query.
Renderer::ensureMarkupIsSafe function core/lib/Drupal/Core/Render/Renderer.php Escapes #plain_text or filters #markup as required.
Schema::ensureNotNullPrimaryKey function core/lib/Drupal/Core/Database/Schema.php Ensures that all the primary key fields are correctly defined.
SessionHandler::ensureTableExists function core/lib/Drupal/Core/Session/SessionHandler.php Check if the session table exists and create it if not.
SharedTempStore::ensureAnonymousSession function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores the owner in the session if the user is anonymous.
Tables::ensureEntityTable function core/lib/Drupal/Core/Entity/Query/Sql/Tables.php Joins the entity table, if necessary, and returns the alias for it.
Tables::ensureFieldTable function core/lib/Drupal/Core/Entity/Query/Sql/Tables.php Ensure the field table is joined if necessary.

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