W3cubDocs

/Drupal 8

entity.inc

Entity API for handling entities like nodes or users.

File

core/includes/entity.inc

Functions

Name Description
entity_create Deprecated Constructs a new entity object, without permanently saving it.
entity_delete_multiple Deprecated Deletes multiple entities permanently.
entity_get_bundles Deprecated Returns the entity bundle info.
entity_get_display Deprecated Returns the entity view display associated with a bundle and view mode.
entity_get_form_display Deprecated Returns the entity form display associated with a bundle and form mode.
entity_load Deprecated Loads an entity from the database.
entity_load_multiple Deprecated Loads multiple entities from the database.
entity_load_multiple_by_properties Deprecated Load entities by their property values.
entity_load_unchanged Deprecated Loads the unchanged, i.e. not modified, entity from the database.
entity_page_label Deprecated Returns the label of an entity.
entity_render_cache_clear Clears the entity render cache for all entity types.
entity_revision_delete Deprecated Deletes an entity revision.
entity_revision_load Deprecated Loads an entity from the database.
entity_view Deprecated Returns the render array for an entity.
entity_view_multiple Deprecated Returns the render array for the provided entities.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!entity.inc/8.1.x