You are here

function deploy_views_handler_base::construct in Deploy - Content Staging 7.3

Construct a new field handler.

Overrides views_handler_field::construct

File

includes/views/handler_base.inc, line 16
Deploy Views base "field" handler.

Class

deploy_views_handler_base
Base class for handling the Deploy Manager "fields",

Code

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

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