function Extension::isExperimental
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::isExperimental()
- 11.x core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::isExperimental()
Checks if an extension is marked as experimental.
Return value
bool TRUE if an extension is marked as experimental, FALSE otherwise.
1 call to Extension::isExperimental()
- DatabaseDriver::isExperimental in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php
1 method overrides Extension::isExperimental()
- DatabaseDriver::isExperimental in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php
File
-
core/
lib/ Drupal/ Core/ Extension/ Extension.php, line 225
Class
- Extension
- Defines an extension (file) object.
Namespace
Drupal\Core\ExtensionCode
public function isExperimental() : bool {
return isset($this->info[ExtensionLifecycle::LIFECYCLE_IDENTIFIER]) && $this->info[ExtensionLifecycle::LIFECYCLE_IDENTIFIER] === ExtensionLifecycle::EXPERIMENTAL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.