Search for ensure

  1. Search 7.x for ensure
  2. Search 9.5.x for ensure
  3. Search 10.3.x for ensure
  4. Search 11.x for ensure
  5. Other projects
Title Object type File name Summary
Sql::ensureTables function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Create the map and message tables if they don't already exist.
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 Join field table if necessary.
Tasks::ensureInnoDbAvailable function core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php Ensure that InnoDB is available.
TestSiteInstallCommand::ensureDirectory function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Ensures that the sites/simpletest directory exists and is writable.
UpdatePathTestTrait::ensureUpdatesToRun function core/tests/Drupal/Tests/UpdatePathTestTrait.php Installs the update_script_test module and makes an update available.
UserRegistrationResource::ensureAccountCanRegister function core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php Ensure the account can be registered in this request.
ViewsHandlerInterface::ensureMyTable function core/modules/views/src/Plugin/views/ViewsHandlerInterface.php Ensure the main table for this handler is in the query. This is used
a lot.
ViewsQueryAlter::ensureRevisionTable function core/modules/workspaces/src/ViewsQueryAlter.php Adds the revision table of an entity type to a query object.
ViewsQueryAlter::ensureWorkspaceAssociationTable function core/modules/workspaces/src/ViewsQueryAlter.php Adds the 'workspace_association' table to a views query.
_system_rebuild_module_data_ensure_required function core/modules/system/system.module Ensures that dependencies of required modules are also required.

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