Evaluates the condition and returns TRUE or FALSE accordingly.
Return value
bool
TRUE if the condition has been met, FALSE otherwise.
File
- drupal/core/lib/Drupal/Core/Condition/ConditionInterface.php, line 48
- Contains \Drupal\Core\Condition\ConditionInterface.
Class
- ConditionInterface
- An interface for condition plugins.
Namespace
Drupal\Core\Condition
Code
public function evaluate();