You are here

public function pm_handler_area_addcontent::option_definition in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 includes/views/pm_handler_area_addcontent.inc \pm_handler_area_addcontent::option_definition()
  2. 7.2 includes/views/pm_handler_area_addcontent.inc \pm_handler_area_addcontent::option_definition()

Get this field's label.

File

includes/views/pm_handler_area_addcontent.inc, line 15
Area handler for PM add content link.

Class

pm_handler_area_addcontent
Area handler for PM add content link.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['node_type'] = array(
    'default' => NULL,
  );
  $options['redirect'] = array(
    'default' => 1,
    'bool' => TRUE,
  );
  return $options;
}