public function InstallablePluginBase::getVersionConstraint in Markdown 8.2
File
- src/
Plugin/ Markdown/ InstallablePluginBase.php, line 325
Class
- InstallablePluginBase
- Base class for installable plugins.
Namespace
Drupal\markdown\Plugin\MarkdownCode
public function getVersionConstraint() {
if ($versionRequirement = current($this->pluginDefinition
->getRequirementsByConstraint('Version'))) {
return $versionRequirement->constraints['Version'];
}
}