You are here

public function FrameworkInterface::entityProperties in Realistic Dummy Content 3.x

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

Retrieve properties of an entity.

In Drupal 8, (almost?) everything is a field. This function is here for historical reasons (in Drupal 7 there were properties _and_ fields).

Parameters

object $entity: A Drupal entity object.

Return value

array Array of properties.

1 method overrides FrameworkInterface::entityProperties()
Framework::entityProperties in api/src/Framework/Framework.php
Retrieve properties of an entity.

File

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

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);