W3cubDocs

/Drupal 8

interface EntityHandlerInterface

Defines an interface for entity handlers.

This interface can be implemented by entity handlers that require dependency injection.

Hierarchy

Related topics

Entity API
Describes how to define and manipulate content and configuration entities.

File

core/lib/Drupal/Core/Entity/EntityHandlerInterface.php, line 15

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityHandlerInterface::createInstance public static function Instantiates a new instance of this entity handler.

© 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!lib!Drupal!Core!Entity!EntityHandlerInterface.php/interface/EntityHandlerInterface/8.1.x