- Patch #931352 by LaurentAjdnik: documentation fixes.
parent
fb8025056c
commit
6893d4313f
|
@ -7010,15 +7010,16 @@ function entity_create_stub_entity($entity_type, $ids) {
|
||||||
* database access if loaded again during the same page request.
|
* database access if loaded again during the same page request.
|
||||||
*
|
*
|
||||||
* The actual loading is done through a class that has to implement the
|
* The actual loading is done through a class that has to implement the
|
||||||
* DrupalEntityController interface. By default, DrupalDefaultEntityController
|
* DrupalEntityControllerInterface interface. By default,
|
||||||
* is used. Entity types can specify that a different class should be used by
|
* DrupalDefaultEntityController is used. Entity types can specify that a
|
||||||
* setting the 'controller class' key in hook_entity_info(). These classes can
|
* different class should be used by setting the 'controller class' key in
|
||||||
* either implement the DrupalEntityController interface, or, most commonly,
|
* hook_entity_info(). These classes can either implement the
|
||||||
* extend the DrupalDefaultEntityController class. See node_entity_info() and
|
* DrupalEntityControllerInterface interface, or, most commonly, extend the
|
||||||
* the NodeController in node.module as an example.
|
* DrupalDefaultEntityController class. See node_entity_info() and the
|
||||||
|
* NodeController in node.module as an example.
|
||||||
*
|
*
|
||||||
* @see hook_entity_info()
|
* @see hook_entity_info()
|
||||||
* @see DrupalEntityController
|
* @see DrupalEntityControllerInterface
|
||||||
* @see DrupalDefaultEntityController
|
* @see DrupalDefaultEntityController
|
||||||
*
|
*
|
||||||
* @param $entity_type
|
* @param $entity_type
|
||||||
|
|
Loading…
Reference in New Issue