public function EntityAPIControllerInterface::invoke in Entity API 7
Invokes a hook on behalf of the entity. For hooks that have a respective field API attacher like insert/update/.. the attacher is called too.
1 method overrides EntityAPIControllerInterface::invoke()
- EntityAPIController::invoke in includes/
entity.controller.inc - Implements EntityAPIControllerInterface.
File
- includes/
entity.controller.inc, line 28 - Provides a controller building upon the core controller but providing more features like full CRUD functionality.
Class
- EntityAPIControllerInterface
- Interface for EntityControllers compatible with the entity API.
Code
public function invoke($hook, $entity);