You are here

function FieldModifier::GetProperties in Realistic Dummy Content 8

Get properties for the entity, for example user's picture or node's name.

This is deprecated for Drupal 8

Return value

An empty array is returned in case of an error. An array of Attribute objects, keyed by attribute name, e.g. title => [Attribute], field_image => [Attribute]

1 call to FieldModifier::GetProperties()
FieldModifier::GetAttributes in api/src/manipulators/FieldModifier.php
Returns all fields and properties.

File

api/src/manipulators/FieldModifier.php, line 56
Define autoload class.

Class

FieldModifier
Field modifier class.

Namespace

Drupal\realistic_dummy_content_api\manipulators

Code

function GetProperties() {
  try {

    // Deprecated for Drupal 8.
    return array();
  } catch (\Exception $e) {
    return array();
  }
}