You are here

public function DatabaseSchemaInterface::tableExists in Schema 8

Check if a table exists.

Parameters

$table: The name of the table in drupal (no prefixing).

Return value

TRUE if the given table exists, otherwise FALSE.

File

src/DatabaseSchemaInterface.php, line 23
Contains Drupal\schema\DatabaseSchemaInterface.

Class

DatabaseSchemaInterface
This interface describes public methods of \Drupal\Core\Database\Schema.

Namespace

Drupal\schema

Code

public function tableExists($table);