public function EntityInterface::toArray in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::toArray()
Gets an array of all property values.
Return value
mixed[] An array of property values, keyed by property name.
3 methods override EntityInterface::toArray()
- Entity::toArray in core/
lib/ Drupal/ Core/ Entity/ Entity.php - Gets an array of all property values.
- FieldableEntityInterface::toArray in core/
lib/ Drupal/ Core/ Entity/ FieldableEntityInterface.php - Gets an array of all field values.
- ViewUI::toArray in core/
modules/ views_ui/ src/ ViewUI.php - Gets an array of all property values.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 449 - Contains \Drupal\Core\Entity\EntityInterface.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function toArray();