public function ArgumentPluginBase::needsStylePlugin in Views (for Drupal 7) 8.3
Determine if the argument needs a style plugin.
Return value
TRUE/FALSE
File
- 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\argumentCode
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']);
}