Skip to content
Snippets Groups Projects
Unverified Commit dd2982b5 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3488742 by catch, phenaproxima, gábor hojtsy: Stop calling...

Issue #3488742 by catch, phenaproxima, gábor hojtsy: Stop calling node_add_body_field() from NodeTypeForm
parent 240d2b1d
Branches
Tags
11 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!10786Issue #3490579 by shalini_jha, mstrelan: Add void return to all views...,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #348245 passed with warnings
Pipeline: drupal

#348278

    Pipeline: drupal

    #348273

      Pipeline: drupal

      #348269

        +4
        ......@@ -3,7 +3,7 @@
        module.exports = {
        '@tags': ['core', 'ckeditor5'],
        before(browser) {
        browser.drupalInstall({ installProfile: 'minimal' });
        browser.drupalInstall({ installProfile: 'testing' });
        },
        after(browser) {
        browser.drupalUninstall();
        ......@@ -14,6 +14,7 @@ module.exports = {
        // Enable required modules.
        .drupalRelativeURL('/admin/modules')
        .click('[name="modules[ckeditor5][enable]"]')
        .click('[name="modules[node][enable]"]')
        .click('[name="modules[field_ui][enable]"]')
        .submitForm('input[type="submit"]') // Submit module form.
        .waitForElementVisible(
        ......
        ......@@ -4,9 +4,10 @@ module.exports = {
        '@tags': ['core', 'ckeditor5'],
        before(browser) {
        browser
        .drupalInstall({ installProfile: 'minimal' })
        .drupalInstall({ installProfile: 'testing' })
        .drupalInstallModule('ckeditor5', true)
        .drupalInstallModule('field_ui');
        .drupalInstallModule('field_ui')
        .drupalInstallModule('node', true);
        // Set fixed (desktop-ish) size to ensure a maximum viewport.
        browser.resizeWindow(1920, 1080);
        ......
        ......@@ -235,7 +235,9 @@ public function save(array $form, FormStateInterface $form_state) {
        $this->messenger()->addStatus($this->t('The content type %name has been updated.', $t_args));
        }
        elseif ($status == SAVED_NEW) {
        node_add_body_field($type);
        if (\Drupal::installProfile() === 'testing') {
        node_add_body_field($type);
        }
        $this->messenger()->addStatus($this->t('The content type %name has been added.', $t_args));
        $context = array_merge($t_args, ['link' => $type->toLink($this->t('View'), 'collection')->toString()]);
        $this->logger('node')->notice('Added content type %name.', $context);
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment