Search for tableExists

  1. Search 7.x for tableExists
  2. Search 9.5.x for tableExists
  3. Search 8.9.x for tableExists
  4. Search 10.3.x for tableExists
  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.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Check if the 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.
RegressionTest::testDBTableExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::tableExists() method.
Schema::tableExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Check if a table exists.
Schema::tableExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Schema.php Check if a table exists.
SchemaTest::testTableExists function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Tests the method tableExists().
SessionHandler::ensureTableExists function core/lib/Drupal/Core/Session/SessionHandler.php Check if the session table exists and create it if not.

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