function views_handler_argument::needs_style_plugin

Same name in other branches
  1. 7.x-3.x handlers/views_handler_argument.inc \views_handler_argument::needs_style_plugin()

Determine if the argument needs a style plugin.

Return value

TRUE/FALSE

Overrides views_handler::needs_style_plugin

File

handlers/views_handler_argument.inc, line 88

Class

views_handler_argument
Base class for arguments.

Code

function needs_style_plugin() {
    $info = $this->default_actions($this->options['default_action']);
    $validate_info = $this->default_actions($this->options['validate_fail']);
    return !empty($info['style plugin']) || !empty($validate_info['style plugin']);
}