function views_handler_field_node::option_definition

Overrides views_handler_field::option_definition

4 calls to views_handler_field_node::option_definition()
views_handler_field_history_user_timestamp::option_definition in modules/node/views_handler_field_history_user_timestamp.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_language::option_definition in modules/locale/views_handler_field_node_language.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_revision::option_definition in modules/node/views_handler_field_node_revision.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_type::option_definition in modules/node/views_handler_field_node_type.inc
Information about options for all kinds of purposes will be held here.
4 methods override views_handler_field_node::option_definition()
views_handler_field_history_user_timestamp::option_definition in modules/node/views_handler_field_history_user_timestamp.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_language::option_definition in modules/locale/views_handler_field_node_language.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_revision::option_definition in modules/node/views_handler_field_node_revision.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_node_type::option_definition in modules/node/views_handler_field_node_type.inc
Information about options for all kinds of purposes will be held here.

File

modules/node/views_handler_field_node.inc, line 36

Class

views_handler_field_node
Field handler to provide simple renderer that allows linking to a node.

Code

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