Search for ensureTable

  1. Search 7.x for ensureTable
  2. Search 9.5.x for ensureTable
  3. Search 8.9.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/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.
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
SessionHandler::ensureTableExists function core/lib/Drupal/Core/Session/SessionHandler.php Check if the session table exists and create it if not.
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.
TestSqlIdMap::ensureTables function core/modules/migrate/tests/src/Unit/TestSqlIdMap.php

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