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
Sql::ensureTable function core/modules/views/src/Plugin/views/query/Sql.php Ensures a table exists in the queue.
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.
SqlTest::providerTestEnsureTables function core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Provides data for testEnsureTables.
SqlTest::providerTestFailEnsureTables function core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Provides data for testFailEnsureTables.
SqlTest::testEnsureTables function core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Tests that ensureTables creates the migrate map table.
SqlTest::testFailEnsureTables function core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Tests exception is thrown in ensureTables fails.
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.
Tasks::ensureInnoDbAvailable function core/modules/mysql/src/Driver/Database/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.
TestSqlIdMap::ensureTables function core/modules/migrate/tests/src/Unit/TestSqlIdMap.php Create the map and message tables if they don't already exist.
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 Ensures that the main table for this handler is in the query.
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.

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