isActive() protected method

Returns a value indicating whether the filter is active for the given action.
protected isActive ( Action $action ) : boolean
$action Action the action being filtered
return boolean whether the filter is active for the given action.
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function isActive($action)
 {
     return parent::isActive($action) || $this->isOptional($action);
 }