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
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Check if the 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.
ModuleExtensionList::ensureRequiredDependencies function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Marks dependencies of required modules as 'required', recursively.
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.