You are here

public function MissingSchema::evaluate in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php \Drupal\block_test\Plugin\Condition\MissingSchema::evaluate()
  2. 10 core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php \Drupal\block_test\Plugin\Condition\MissingSchema::evaluate()

Evaluates the condition and returns TRUE or FALSE accordingly.

Return value

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

Overrides ConditionInterface::evaluate

File

core/modules/block/tests/modules/block_test/src/Plugin/Condition/MissingSchema.php, line 20

Class

MissingSchema
Provides a 'missing_schema' condition.

Namespace

Drupal\block_test\Plugin\Condition

Code

public function evaluate() {
  return FALSE;
}