You are here

public function deploy_views_handler_entity_label_field::render in Deploy - Content Staging 7.3

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides deploy_views_handler_base::render

File

includes/views/handler_entity_label_field.inc, line 16
Deploy Views Entity Label field handler.

Class

deploy_views_handler_entity_label_field
Class for handling the Deploy Manager Entity Label "field",

Code

public function render($values) {
  $entity = $this
    ->entity_load($values);
  $label = entity_label($values->entity_type, $entity);
  return $label;
}