220222966f68c73cfe28d4fd052a066f7b9ec405
[yaffs-website] / web / modules / contrib / ctools / src / Context / AutomaticContext.php
1 <?php
2
3 namespace Drupal\ctools\Context;
4
5 use Drupal\Core\Plugin\Context\Context;
6
7 /**
8  * Provides a class to indicate that this context is always present.
9  *
10  * @internal
11  *
12  * @todo Move into core.
13  */
14 class AutomaticContext extends Context {
15
16   /**
17    * Returns TRUE if this context is automatic and always available.
18    *
19    * @return bool
20    */
21   public function isAutomatic() {
22     return TRUE;
23   }
24
25 }