Search for ensureTable

  1. Search 7.x for ensureTable
  2. Search 9.5.x for ensureTable
  3. Search 10.3.x for ensureTable
  4. Search 11.x for ensureTable
  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.
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/Config/DatabaseStorage.php Check if the config table exists and create it if not.
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.
MigrateSqlIdMapEnsureTablesTest class core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php Tests the SQL ID map plugin ensureTables() method.
MigrateSqlIdMapEnsureTablesTest.php file core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php
MigrateSqlIdMapEnsureTablesTest::$migrationConfiguration property core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php The migration configuration, initialized to set the ID and destination IDs.
MigrateSqlIdMapEnsureTablesTest::runEnsureTablesTest function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php Actually run the test.
MigrateSqlIdMapEnsureTablesTest::testEnsureTablesExist function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php Tests the ensureTables method when the tables exist.
MigrateSqlIdMapEnsureTablesTest::testEnsureTablesNotExist function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php Tests the ensureTables method when the tables do not exist.
QueryTest::ensureTable function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
Sql::ensureTable function core/modules/views/src/Plugin/views/query/Sql.php Ensure a table exists in the queue; if it already exists it won't
do anything, but if it doesn't it will add the table queue. It will ensure
a path leads back to the relationship table.
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.

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