public function BundleConfigManager::getEnabled in Title 8.2
Check the enabled/disabled status of a bundle.
Parameters
string $bundle_name: The bundle to lookup.
Return value
boolean The enabled or disabled status of the bundle.
File
- src/
BundleConfigManager.php, line 47
Class
- BundleConfigManager
- Allow management of the title module config.
Namespace
Drupal\titleCode
public function getEnabled($bundle_name) {
$bundle = $this
->loadBundle($bundle_name);
return $bundle
->getThirdPartySetting('title', 'display_configurable_title');
}