Search for tableExists

  1. Search 7.x for tableExists
  2. Search 9.5.x for tableExists
  3. Search 10.3.x for tableExists
  4. Search 11.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.
DatabaseLegacyTest::testDbTableExists function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests the db_table_exists() function.
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.
RegressionTest::testDBTableExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::tableExists() method.
Schema::tableExists function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Schema.php Check if a table exists.

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