public function deploy_views_handler_base::entity_load in Deploy - Content Staging 7.3
Loads an entity based on the row values.
Parameters
object $values: The views result row values.
Return value
object The entity object.
4 calls to deploy_views_handler_base::entity_load()
- deploy_views_handler_entity_label_field::render in includes/
views/ handler_entity_label_field.inc - Render the field.
- deploy_views_handler_entity_link_field::render in includes/
views/ handler_entity_link_field.inc - Render the field.
- deploy_views_handler_revision_class_field::render in includes/
views/ handler_revision_class_field.inc - Render the field.
- deploy_views_handler_revision_status_field::render in includes/
views/ handler_revision_status_field.inc - Render the field.
File
- includes/
views/ handler_base.inc, line 43 - Deploy Views base "field" handler.
Class
- deploy_views_handler_base
- Base class for handling the Deploy Manager "fields",
Code
public function entity_load($values) {
$entity = deploy_plan_entity_load($values->entity_type, $values->entity_id, $values->revision_id);
return $entity;
}