Drupal 8  8.0.2
EntityHandlerBase Class Reference
Inheritance diagram for EntityHandlerBase:

Public Member Functions

 setModuleHandler (ModuleHandlerInterface $module_handler)
 

Protected Member Functions

 moduleHandler ()
 

Protected Attributes

 $moduleHandler
 

Detailed Description

Provides a base class for entity handlers.

Deprecated:
in Drupal 8.0.x, will be removed before Drupal 9.0.0. Implement the container injection pattern of ::createInstance() to obtain the module handler service for your class.

Member Function Documentation

setModuleHandler ( ModuleHandlerInterface  $module_handler)

Sets the module handler for this handler.

Parameters
\Drupal\Core\Extension\ModuleHandlerInterface$module_handlerThe module handler.
Returns
$this

References EntityHandlerBase\moduleHandler().

Here is the call graph for this function:


The documentation for this class was generated from the following file: