function ConfigEntityTypeInterface::getPropertiesToExport

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getPropertiesToExport()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getPropertiesToExport()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getPropertiesToExport()

Gets the config entity properties to export if declared on the annotation.

Falls back to determining the properties using configuration schema, if the config entity properties are not declared.

Parameters

string $id: The ID of the configuration entity. Used when checking schema instead of the annotation.

Return value

array|null The properties to export or NULL if they can not be determine from the config entity type annotation or the schema.

1 method overrides ConfigEntityTypeInterface::getPropertiesToExport()
ConfigEntityType::getPropertiesToExport in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config entity properties to export if declared on the annotation.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php, line 79

Class

ConfigEntityTypeInterface
Provides an interface for a configuration entity type and its metadata.

Namespace

Drupal\Core\Config\Entity

Code

public function getPropertiesToExport($id = NULL);

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