Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
EntityBase.php file core/lib/Drupal/Core/Entity/EntityBase.php
EntityBase::$enforceIsNew property core/lib/Drupal/Core/Entity/EntityBase.php Boolean indicating whether the entity should be forced to be new.
EntityBase::$entityTypeId property core/lib/Drupal/Core/Entity/EntityBase.php The entity type.
EntityBase::$typedData property core/lib/Drupal/Core/Entity/EntityBase.php A typed data object wrapping this entity.
EntityBase::access function core/lib/Drupal/Core/Entity/EntityBase.php Checks data value access.
EntityBase::bundle function core/lib/Drupal/Core/Entity/EntityBase.php Gets the bundle of the entity.
EntityBase::create function core/lib/Drupal/Core/Entity/EntityBase.php Constructs a new entity object, without permanently saving it.
EntityBase::createDuplicate function core/lib/Drupal/Core/Entity/EntityBase.php Creates a duplicate of the entity.
EntityBase::delete function core/lib/Drupal/Core/Entity/EntityBase.php Deletes an entity permanently.
EntityBase::enforceIsNew function core/lib/Drupal/Core/Entity/EntityBase.php Enforces an entity to be new.
EntityBase::entityManager function core/lib/Drupal/Core/Entity/EntityBase.php Gets the entity manager.
EntityBase::entityTypeBundleInfo function core/lib/Drupal/Core/Entity/EntityBase.php Gets the entity type bundle info service.
EntityBase::entityTypeManager function core/lib/Drupal/Core/Entity/EntityBase.php Gets the entity type manager.
EntityBase::getCacheContexts function core/lib/Drupal/Core/Entity/EntityBase.php The cache contexts associated with this object.
EntityBase::getCacheMaxAge function core/lib/Drupal/Core/Entity/EntityBase.php The maximum age for which this object may be cached.
EntityBase::getCacheTags function core/lib/Drupal/Core/Entity/EntityBase.php The cache tags associated with this object.
EntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php Returns the cache tags that should be used to invalidate caches.
EntityBase::getConfigDependencyKey function core/lib/Drupal/Core/Entity/EntityBase.php Gets the key that is used to store configuration dependencies.
EntityBase::getConfigDependencyName function core/lib/Drupal/Core/Entity/EntityBase.php Gets the configuration dependency name.
EntityBase::getConfigTarget function core/lib/Drupal/Core/Entity/EntityBase.php Gets the configuration target identifier for the entity.
EntityBase::getEntityType function core/lib/Drupal/Core/Entity/EntityBase.php Gets the entity type definition.
EntityBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityBase.php Gets the ID of the type of the entity.
EntityBase::getListCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php The list cache tags to invalidate for this entity.
EntityBase::getOriginalId function core/lib/Drupal/Core/Entity/EntityBase.php Gets the original ID.
EntityBase::getTypedData function core/lib/Drupal/Core/Entity/EntityBase.php Gets a typed data object for this entity object.
EntityBase::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityBase.php Indicates if a link template exists for a given key.
EntityBase::id function core/lib/Drupal/Core/Entity/EntityBase.php Gets the identifier.
EntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon delete.
EntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon save.
EntityBase::isNew function core/lib/Drupal/Core/Entity/EntityBase.php Determines whether the entity is new.
EntityBase::label function core/lib/Drupal/Core/Entity/EntityBase.php Gets the label of the entity.
EntityBase::language function core/lib/Drupal/Core/Entity/EntityBase.php Gets the language of the entity.
EntityBase::languageManager function core/lib/Drupal/Core/Entity/EntityBase.php Gets the language manager.
EntityBase::link function core/lib/Drupal/Core/Entity/EntityBase.php Deprecated way of generating a link to the entity. See toLink().
EntityBase::linkTemplates function core/lib/Drupal/Core/Entity/EntityBase.php Gets an array link templates.
EntityBase::load function core/lib/Drupal/Core/Entity/EntityBase.php Loads an entity.
EntityBase::loadMultiple function core/lib/Drupal/Core/Entity/EntityBase.php Loads one or more entities.
EntityBase::postCreate function core/lib/Drupal/Core/Entity/EntityBase.php Acts on a created entity before hooks are invoked.
EntityBase::postDelete function core/lib/Drupal/Core/Entity/EntityBase.php Acts on deleted entities before the delete hook is invoked.
EntityBase::postLoad function core/lib/Drupal/Core/Entity/EntityBase.php Acts on loaded entities.
EntityBase::postSave function core/lib/Drupal/Core/Entity/EntityBase.php Acts on a saved entity before the insert or update hook is invoked.
EntityBase::preCreate function core/lib/Drupal/Core/Entity/EntityBase.php Changes the values of an entity before it is created.
EntityBase::preDelete function core/lib/Drupal/Core/Entity/EntityBase.php Acts on entities before they are deleted and before hooks are invoked.
EntityBase::preSave function core/lib/Drupal/Core/Entity/EntityBase.php Acts on an entity before the presave hook is invoked.
EntityBase::referencedEntities function core/lib/Drupal/Core/Entity/EntityBase.php Gets a list of entities referenced by this entity.
EntityBase::save function core/lib/Drupal/Core/Entity/EntityBase.php Saves an entity permanently.
EntityBase::setOriginalId function core/lib/Drupal/Core/Entity/EntityBase.php Sets the original ID.
EntityBase::toArray function core/lib/Drupal/Core/Entity/EntityBase.php Gets an array of all property values.
EntityBase::toLink function core/lib/Drupal/Core/Entity/EntityBase.php Generates the HTML for a link to this entity.
EntityBase::toUrl function core/lib/Drupal/Core/Entity/EntityBase.php Gets the URL object for the entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.