public function DrupalApplication::getApplicationModuleVersion in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/SyncCoreInterface/DrupalApplication.php \Drupal\cms_content_sync\SyncCoreInterface\DrupalApplication::getApplicationModuleVersion()
- 2.0.x src/SyncCoreInterface/DrupalApplication.php \Drupal\cms_content_sync\SyncCoreInterface\DrupalApplication::getApplicationModuleVersion()
File
- src/
SyncCoreInterface/ DrupalApplication.php, line 250
Class
- DrupalApplication
- Class DrupalApplication.
Namespace
Drupal\cms_content_sync\SyncCoreInterfaceCode
public function getApplicationModuleVersion() {
$version = \Drupal::service('extension.list.module')
->getExtensionInfo('cms_content_sync')['version'];
return $version ? $version : 'dev';
}