public function DomainStorage::loadSchema in Domain Access 8
Gets the entity field schema for domain records.
Return value
array An array representing the field schema of the object.
Overrides DomainStorageInterface::loadSchema
File
- domain/
src/ DomainStorage.php, line 66
Class
- DomainStorage
- Loads Domain records.
Namespace
Drupal\domainCode
public function loadSchema() {
$fields = $this->typedConfig
->getDefinition('domain.record.*');
return isset($fields['mapping']) ? $fields['mapping'] : [];
}