You are here

public function FrameworkInterface::entityProperties in Realistic Dummy Content 7.2

Same name and namespace in other branches
  1. 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::entityProperties()
  2. 3.x api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::entityProperties()

Retrieve properties of an entity.

Properties are different from fields. In Drupal 7, node titles are properties, but field_image is a field. In Drupal 8, (almost?) everything is a field.

Parameters

object $entity: A Drupal entity object.

Return value

array Array of properties.

File

api/src/Framework/FrameworkInterface.php, line 68

Class

FrameworkInterface
Defines and abstracts all functions which are used by our module.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function entityProperties($entity);