public function UrlAliasFixtures::urlAliasTableDefinition

Returns the table definition for the URL alias fixtures.

Return value

array Table definitions.

2 calls to UrlAliasFixtures::urlAliasTableDefinition()
UrlAliasFixtures::createTables in drupal/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php
Create the tables required for the sample data.
UrlAliasFixtures::dropTables in drupal/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php
Drop the tables used for the sample data.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php, line 80

Class

UrlAliasFixtures
Utility methods to generate sample data, database configuration, etc.

Namespace

Drupal\system\Tests\Path

Code

public function urlAliasTableDefinition() {
  $tables = array();
  module_load_install('system');
  $schema = system_schema();
  $tables['url_alias'] = $schema['url_alias'];
  $tables['key_value'] = $schema['key_value'];
  return $tables;
}