You are here

function configuration_reserved_attribute in Configuration Management 6

Helper function to return a list of reserved attributes

1 call to configuration_reserved_attribute()
configuration_context_process_property in ./configuration.module
Process a single mapping config property. Various properties will mark static data that will be processed later on in the configuration phases.

File

./configuration.module, line 1961
Provide a unified method for defining site configurations abstracted from their data format. Various data formats should be supported via a plugin architecture such as XML, YAML, JSON, PHP

Code

function configuration_reserved_attribute($attribute = null) {
  $attributes = array(
    'item',
    'parent',
    'trace',
    'children',
    'key',
    'identifiers',
  );
  if ($attribute) {
    return in_array($attribute, $attributes);
  }
  return $attributes;
}