Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / src / Drupal / DrupalExtension / Hook / Call / EntityHook.php
1 <?php
2
3 namespace Drupal\DrupalExtension\Hook\Call;
4
5 use Behat\Testwork\Hook\Call\RuntimeFilterableHook;
6 use Behat\Testwork\Hook\Scope\HookScope;
7
8 /**
9  * Entity hook class.
10  */
11 abstract class EntityHook extends RuntimeFilterableHook {
12
13   /**
14    * {@inheritDoc}
15    */
16   public function filterMatches(HookScope $scope) {
17     if (NULL === ($filterString = $this->getFilterString())) {
18       return TRUE;
19     }
20   }
21
22 }