public function BackgroundImageManager::getBaseClass in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getBaseClass()
- 2.0.x src/BackgroundImageManager.php \Drupal\background_image\BackgroundImageManager::getBaseClass()
Retrieves the base class.
Return value
string
Overrides BackgroundImageManagerInterface::getBaseClass
File
- src/
BackgroundImageManager.php, line 354
Class
Namespace
Drupal\background_imageCode
public function getBaseClass() {
return Html::cleanCssIdentifier(preg_replace('/^(\\.|#)/', '', $this->config
->get('css.base_class') ?: 'background-image'));
}