public function EntityExtraFieldInterface::hasConditionsBeenMet in Entity Extra Field 2.0.x
Same name and namespace in other branches
- 8 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 238
Class
- EntityExtraFieldInterface
- Define entity extra field interface.
Namespace
Drupal\entity_extra_field\EntityCode
public function hasConditionsBeenMet(array $contexts, bool $all_must_pass = FALSE) : bool;