public function ArgumentPluginBase::needsStylePlugin

Determine if the argument needs a style plugin.

Return value

TRUE/FALSE

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 117
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

public function needsStylePlugin() {
  $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']);
}