You are here

function npop_handler_field_npop::option_definition in Node pop-up 7

Public function optiondefinition.

Return value

array Public function optiondefinition array.

Overrides views_handler_field_node::option_definition

File

views/npop_handler_field_npop.inc, line 21
Views handlers for Node popup module.

Class

npop_handler_field_npop
A handler to provide a field that is completely custom by the administrator.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['node_to_npop'] = array(
    'default' => isset($this->definition['node_to_npop default']) ? $this->definition['node_to_npop default'] : FALSE,
    'bool' => FALSE,
  );
  return $options;
}