You are here

public function ConfigEntityTypeInterface::getPropertiesToExport in Drupal 8

Same name and namespace in other branches
  1. 9 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);