Loading core/themes/default_admin/src/Helper.php +2 −2 Original line number Diff line number Diff line Loading @@ -272,8 +272,8 @@ public static function isContentForm(?FormStateInterface $form_state = NULL, str if ($form_id) { // Forms to exclude. // If media library widget, don't use new content edit form. // gin_preprocess_html is not triggered here, so checking the form id is // enough. // \Drupal\default_admin\Hook\PreprocessHooks::preprocessHtml() is not // triggered here, so checking the form ID is enough. $form_ids_to_ignore = [ 'media_library_add_form_', 'views_form_media_library_widget_', Loading core/themes/default_admin/src/Hook/FormHooks.php +1 −1 Original line number Diff line number Diff line Loading @@ -751,7 +751,7 @@ public function stickyActionButtonsAndSidebar(array &$form, FormStateInterface $ ]; // Specify necessary node form theme and library. // @see gin_form_node_form_alter // @see \Drupal\default_admin\Hook\FormHooks::formNodeFormAlter() $form['#theme'] = ['node_edit_form']; // Attach libraries. $form['#attached']['library'][] = 'default_admin/node-form'; Loading core/themes/default_admin/templates/admin/admin-block-content.html.twig +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ * - compact: Boolean indicating whether compact mode is turned on or not. * * @see template_preprocess_admin_block_content() * @see gin_preprocess_admin_block_content() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessAdminBlockContent() */ #} {% Loading core/themes/default_admin/templates/admin/block-content-add-list.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -8,13 +8,13 @@ * - label: Block content type label * - add_link: \Drupal\Core\Link link instance to create an entity of this * block content type. This is a GeneratedLink originally and is switched by * gin_preprocess_block_content_add_list(). * \Drupal\default_admin\Hook\PreprocessHooks::preprocessBlockContentAddList(). * - description: A description of this custom block type. * * @todo Revisit after https://www.drupal.org/node/3026221 has been solved. * * @see template_preprocess_block_content_add_list() * @see gin_preprocess_block_content_add_list() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessBlockContentAddList() */ #} {% extends '@default_admin/admin/entity-add-list.html.twig' %} core/themes/default_admin/templates/admin/node-add-list.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -8,13 +8,13 @@ * - label: Content type label. * - add_link: \Drupal\Core\Link link instance to create an entity of this * content type. This is a GeneratedLink originally and is switched by * gin_preprocess_node_add_list(). * \Drupal\default_admin\Hook\PreprocessHooks::preprocessNodeAddList(). * - description: Description of this type of content. * * @todo Revisit after https://www.drupal.org/node/3026221 has been solved. * * @see template_preprocess_node_add_list() * @see gin_preprocess_node_add_list() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessNodeAddList() */ #} {% extends '@default_admin/admin/entity-add-list.html.twig' %} Loading Loading
core/themes/default_admin/src/Helper.php +2 −2 Original line number Diff line number Diff line Loading @@ -272,8 +272,8 @@ public static function isContentForm(?FormStateInterface $form_state = NULL, str if ($form_id) { // Forms to exclude. // If media library widget, don't use new content edit form. // gin_preprocess_html is not triggered here, so checking the form id is // enough. // \Drupal\default_admin\Hook\PreprocessHooks::preprocessHtml() is not // triggered here, so checking the form ID is enough. $form_ids_to_ignore = [ 'media_library_add_form_', 'views_form_media_library_widget_', Loading
core/themes/default_admin/src/Hook/FormHooks.php +1 −1 Original line number Diff line number Diff line Loading @@ -751,7 +751,7 @@ public function stickyActionButtonsAndSidebar(array &$form, FormStateInterface $ ]; // Specify necessary node form theme and library. // @see gin_form_node_form_alter // @see \Drupal\default_admin\Hook\FormHooks::formNodeFormAlter() $form['#theme'] = ['node_edit_form']; // Attach libraries. $form['#attached']['library'][] = 'default_admin/node-form'; Loading
core/themes/default_admin/templates/admin/admin-block-content.html.twig +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ * - compact: Boolean indicating whether compact mode is turned on or not. * * @see template_preprocess_admin_block_content() * @see gin_preprocess_admin_block_content() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessAdminBlockContent() */ #} {% Loading
core/themes/default_admin/templates/admin/block-content-add-list.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -8,13 +8,13 @@ * - label: Block content type label * - add_link: \Drupal\Core\Link link instance to create an entity of this * block content type. This is a GeneratedLink originally and is switched by * gin_preprocess_block_content_add_list(). * \Drupal\default_admin\Hook\PreprocessHooks::preprocessBlockContentAddList(). * - description: A description of this custom block type. * * @todo Revisit after https://www.drupal.org/node/3026221 has been solved. * * @see template_preprocess_block_content_add_list() * @see gin_preprocess_block_content_add_list() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessBlockContentAddList() */ #} {% extends '@default_admin/admin/entity-add-list.html.twig' %}
core/themes/default_admin/templates/admin/node-add-list.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -8,13 +8,13 @@ * - label: Content type label. * - add_link: \Drupal\Core\Link link instance to create an entity of this * content type. This is a GeneratedLink originally and is switched by * gin_preprocess_node_add_list(). * \Drupal\default_admin\Hook\PreprocessHooks::preprocessNodeAddList(). * - description: Description of this type of content. * * @todo Revisit after https://www.drupal.org/node/3026221 has been solved. * * @see template_preprocess_node_add_list() * @see gin_preprocess_node_add_list() * @see \Drupal\default_admin\Hook\PreprocessHooks::preprocessNodeAddList() */ #} {% extends '@default_admin/admin/entity-add-list.html.twig' %} Loading