Skip to content
Snippets Groups Projects
Commit 9c56b518 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2230955 by brantwynn: Move block.js to correct /js folder.

parent 43de2c72
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
drupal.block:
version: VERSION
js:
block.js: {}
js/block.js: {}
dependencies:
- core/jquery
- core/drupal
......
File moved
......@@ -111,7 +111,9 @@ public function form(array $form, array &$form_state) {
'#type' => 'vertical_tabs',
'#title' => $this->t('Visibility settings'),
'#attached' => array(
'js' => array(drupal_get_path('module', 'block') . '/block.js'),
'library' => array(
'block/drupal.block',
),
),
'#tree' => TRUE,
'#weight' => 10,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment