Commit a351a02a authored by alexpott's avatar alexpott

Issue #2556731 by karmazzin: Remove usage of deprecated...

Issue #2556731 by karmazzin: Remove usage of deprecated UrlGeneratorInterface::generateFromPath() from ImageStyleListBuilder::build()
parent 1a22dcd8
......@@ -92,7 +92,7 @@ public function getDefaultOperations(EntityInterface $entity) {
public function render() {
$build = parent::render();
$build['#empty'] = $this->t('There are currently no styles. <a href="!url">Add a new one</a>.', array(
'!url' => $this->urlGenerator->generateFromPath('admin/config/media/image-styles/add'),
'!url' => $this->urlGenerator->generateFromRoute('image.style_add'),
return $build;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment