You are here

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

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

includes/views/handler_entity_type_label_field.inc, line 34
Deploy Views Entity Type Label field handler.

Class

deploy_views_handler_entity_type_label_field
Class for handling the Deploy Manager Entity Type Label "field",

Code

public function render($values) {
  $info = entity_get_info($values->entity_type);
  return $info['label'];
}