public function MutableQualityToolkitManager::getActiveToolkit in Image Style Quality 8
Get the toolkit definition that is currently active on the site.
Return value
array A plugin definition.
Overrides MutableQualityToolkitManagerInterface::getActiveToolkit
File
- src/
MutableQualityToolkitManager.php, line 33
Class
- MutableQualityToolkitManager
- Manage setting quality values on different toolkits.
Namespace
Drupal\image_style_qualityCode
public function getActiveToolkit() {
return $this
->getDefinition($this->configFactory
->get('system.image')
->get('toolkit'));
}