You are here

public function EntityExtraFieldInterface::hasConditionsBeenMet in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EntityExtraFieldInterface.php \Drupal\entity_extra_field\Entity\EntityExtraFieldInterface::hasConditionsBeenMet()

Has extra field conditions been met.

Parameters

array $contexts: An array of context values.

bool $all_must_pass: Determine if all conditions must pass.

Return value

bool Return TRUE if the extra field conditions have been met; otherwise FALSE.

Throws

\Drupal\Component\Plugin\Exception\PluginException

1 method overrides EntityExtraFieldInterface::hasConditionsBeenMet()
EntityExtraField::hasConditionsBeenMet in src/Entity/EntityExtraField.php
Has extra field conditions been met.

File

src/Entity/EntityExtraFieldInterface.php, line 217

Class

EntityExtraFieldInterface
Define entity extra field interface.

Namespace

Drupal\entity_extra_field\Entity

Code

public function hasConditionsBeenMet(array $contexts, $all_must_pass = FALSE);