You are here

public function DomainAliasStorage::loadSchema in Domain Access 8

Gets the schema for domain alias records.

Return value

array An array representing the field schema of the object.

Overrides DomainAliasStorageInterface::loadSchema

File

domain_alias/src/DomainAliasStorage.php, line 66

Class

DomainAliasStorage
Alias loader utility class.

Namespace

Drupal\domain_alias

Code

public function loadSchema() {
  $fields = $this->typedConfig
    ->getDefinition('domain_alias.alias.*');
  return isset($fields['mapping']) ? $fields['mapping'] : [];
}