TermStorageInterface

Defines an interface for taxonomy_term entity storage classes.

Hierarchy

File

core/modules/taxonomy/src/TermStorageInterface.php, line 11

Namespace

Drupal\taxonomy

Members

Name Modifiers Type Description
ContentEntityStorageInterface::createTranslation public function Constructs a new entity translation object, without permanently saving it.
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it.
EntityStorageInterface::delete public function Deletes permanently saved entities.
EntityStorageInterface::deleteRevision public function Delete a specific entity revision.
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data. Overrides EntityStorageInterface::FIELD_LOAD_CURRENT
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity. Overrides EntityStorageInterface::FIELD_LOAD_REVISION
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance.
EntityStorageInterface::getEntityType public function Gets the entity type definition.
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID.
EntityStorageInterface::getQuery public function Gets an entity query instance.
EntityStorageInterface::load public function Loads one entity.
EntityStorageInterface::loadByProperties public function Load entities by their property values.
EntityStorageInterface::loadMultiple public function Loads one or more entities.
EntityStorageInterface::loadRevision public function Load a specific entity revision.
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database.
EntityStorageInterface::resetCache public function Resets the internal, static entity cache.
EntityStorageInterface::save public function Saves the entity permanently.
TermStorageInterface::deleteTermHierarchy public function Removed reference to terms from term_hierarchy.
TermStorageInterface::getNodeTerms public function Returns all terms used to tag some given nodes.
TermStorageInterface::loadAllParents public function Finds all ancestors of a given term ID.
TermStorageInterface::loadChildren public function Finds all children of a term ID.
TermStorageInterface::loadParents public function Finds all parents of a given term ID.
TermStorageInterface::loadTree public function Finds all terms in a given vocabulary ID.
TermStorageInterface::nodeCount public function Count the number of nodes in a given vocabulary ID.
TermStorageInterface::resetWeights public function Reset the weights for a given vocabulary ID.
TermStorageInterface::updateTermHierarchy public function Updates terms hierarchy information with the hierarchy trail of it.
doc_Drupal
2016-10-29 09:47:25
Comments
Leave a Comment

Please login to continue.