public function ConditionInterface::evaluate

public ConditionInterface::evaluate()

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

bool TRUE if the condition has been met, FALSE otherwise.

File

core/lib/Drupal/Core/Condition/ConditionInterface.php, line 61

Class

ConditionInterface
An interface for condition plugins.

Namespace

Drupal\Core\Condition

Code

public function evaluate();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Condition!ConditionInterface.php/function/ConditionInterface::evaluate/8.1.x