Skip to content
Snippets Groups Projects
Commit d04b193f authored by Yannick's avatar Yannick
Browse files

uses single-quotes for data attributes

parent 1f46aa90
Branches
Tags
1 merge request!4673Issue #3384272: Allow to validate Apache/Nginx configuration requirement for aggregation folder before enabling aggregation.
......@@ -151,7 +151,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#disabled' => $disabled,
'#attached' => ['library' => ['system/assets.validate']],
'#attributes' => [
"data-performance-assets-validate-path" => Url::fromRoute(
'data-performance-assets-validate-path' => Url::fromRoute(
'system.css_asset',
['file_name' => '_validate.css']
)->toString(),
......@@ -164,7 +164,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#disabled' => $disabled,
'#attached' => ['library' => ['system/assets.validate']],
'#attributes' => [
"data-performance-assets-validate-path" => Url::fromRoute(
'data-performance-assets-validate-path' => Url::fromRoute(
'system.js_asset',
['file_name' => '_validate.js']
)->toString(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment