You are here

public function entity_views_handler_area_entity::admin_summary in Entity API 7

Provide extra data to the administration form.

Overrides views_handler_area::admin_summary

File

views/handlers/entity_views_handler_area_entity.inc, line 88
Renders a full entity in a views area.

Class

entity_views_handler_area_entity
@file Renders a full entity in a views area.

Code

public function admin_summary() {
  $label = parent::admin_summary();
  if (!empty($this->options['entity_id'])) {
    return t('@label @entity_type:@entity_id', array(
      '@label' => $label,
      '@entity_type' => $this->options['entity_type'],
      '@entity_id' => $this->options['entity_id'],
    ));
  }
}