You are here

function deploy_views_handler_entity_type_label_field::construct in Deploy - Content Staging 7.3

Construct a new field handler.

Overrides views_handler_field::construct

File

includes/views/handler_entity_type_label_field.inc, line 16
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

function construct() {
  parent::construct();

  // We have to set this here otherwise the parent construcutor overrides it.
  $this->additional_fields += [
    'entity_type' => 'entity_type',
  ];
}