You are here

function pm_handler_area_addcontent::option_definition in Drupal PM (Project Management) 7.2

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

Get this field's label.

Overrides views_handler_area::option_definition

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

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