You are here

public function Lower::evaluate in ThemeKey 8

Return value

bool TRUE if $value1 < $value2

Overrides OperatorInterface::evaluate

File

src/Plugin/Operator/Lower.php, line 27
Contains \Drupal\themekey\Plugin\Operator\Equals.

Class

Lower
Provides an 'equals' operator.

Namespace

Drupal\themekey\Plugin\Operator

Code

public function evaluate($value1, $value2) {
  return $value1 < $value2;
}