AutomaticContext.php in Chaos Tool Suite (ctools) 8.3
Namespace
Drupal\ctools\ContextFile
src/Context/AutomaticContext.phpView source
<?php
namespace Drupal\ctools\Context;
use Drupal\Core\Plugin\Context\Context;
/**
* Provides a class to indicate that this context is always present.
*
* @internal
*
* @todo Move into core.
*/
class AutomaticContext extends Context {
/**
* Returns TRUE if this context is automatic and always available.
*
* @return bool
*/
public function isAutomatic() {
return TRUE;
}
}
Classes
Name | Description |
---|---|
AutomaticContext | Provides a class to indicate that this context is always present. |