Skip to content
Snippets Groups Projects
Commit 395ba5de authored by catch's avatar catch
Browse files

Issue #3469736 by samit.310@gmail.com, acbramley, longwave: Title field...

Issue #3469736 by samit.310@gmail.com, acbramley, longwave: Title field description override in BlockContentBlock::blockForm() does nothing
parent 565849d6
No related branches found
No related tags found
No related merge requests found
Pipeline #447452 passed with warnings
Pipeline: drupal

#447467

    Pipeline: drupal

    #447460

      Pipeline: drupal

      #447455

        ...@@ -139,9 +139,7 @@ public function defaultConfiguration() { ...@@ -139,9 +139,7 @@ public function defaultConfiguration() {
        } }
        /** /**
        * Overrides \Drupal\Core\Block\BlockBase::blockForm(). * {@inheritdoc}
        *
        * Adds body and description fields to the block configuration form.
        */ */
        public function blockForm($form, FormStateInterface $form_state) { public function blockForm($form, FormStateInterface $form_state) {
        $block = $this->getEntity(); $block = $this->getEntity();
        ...@@ -158,7 +156,6 @@ public function blockForm($form, FormStateInterface $form_state) { ...@@ -158,7 +156,6 @@ public function blockForm($form, FormStateInterface $form_state) {
        '#default_value' => $this->configuration['view_mode'], '#default_value' => $this->configuration['view_mode'],
        '#access' => (count($options) > 1), '#access' => (count($options) > 1),
        ]; ];
        $form['title']['#description'] = $this->t('The title of the block as shown to the user.');
        return $form; return $form;
        } }
        ......
        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