Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx #3199122 by DamienMcKenna, thejimbirch: Fix compatibility with Drupal 9. #3199060 by Santhosh-Kumar-Rengasamy, DamienMcKenna: Custom Migration dependency issue for d7 migrate process plugin. #2930291 by dobe, trobey, DamienMcKenna, sylus: Expand all text fields to allow 1,024 characters. Metatag 8.x-1.15, 2020-12-05 Loading src/Plugin/metatag/Tag/Description.php +1 −10 Original line number Diff line number Diff line Loading @@ -19,14 +19,5 @@ namespace Drupal\metatag\Plugin\metatag\Tag; * ) */ class Description extends MetaNameBase { /** * {@inheritdoc} */ public function form(array $element = []) { $form = parent::form($element); $form['#maxlength'] = 320; return $form; } // Nothing here yet. Just a placeholder class for a plugin. } src/Plugin/metatag/Tag/MetaNameBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ abstract class MetaNameBase extends PluginBase { '#type' => $this->isLong() ? 'textarea' : 'textfield', '#title' => $this->label(), '#default_value' => $this->value(), '#maxlength' => 255, '#maxlength' => 1024, '#required' => isset($element['#required']) ? $element['#required'] : FALSE, '#description' => $this->description(), '#element_validate' => [[get_class($this), 'validateTag']], Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx #3199122 by DamienMcKenna, thejimbirch: Fix compatibility with Drupal 9. #3199060 by Santhosh-Kumar-Rengasamy, DamienMcKenna: Custom Migration dependency issue for d7 migrate process plugin. #2930291 by dobe, trobey, DamienMcKenna, sylus: Expand all text fields to allow 1,024 characters. Metatag 8.x-1.15, 2020-12-05 Loading
src/Plugin/metatag/Tag/Description.php +1 −10 Original line number Diff line number Diff line Loading @@ -19,14 +19,5 @@ namespace Drupal\metatag\Plugin\metatag\Tag; * ) */ class Description extends MetaNameBase { /** * {@inheritdoc} */ public function form(array $element = []) { $form = parent::form($element); $form['#maxlength'] = 320; return $form; } // Nothing here yet. Just a placeholder class for a plugin. }
src/Plugin/metatag/Tag/MetaNameBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ abstract class MetaNameBase extends PluginBase { '#type' => $this->isLong() ? 'textarea' : 'textfield', '#title' => $this->label(), '#default_value' => $this->value(), '#maxlength' => 255, '#maxlength' => 1024, '#required' => isset($element['#required']) ? $element['#required'] : FALSE, '#description' => $this->description(), '#element_validate' => [[get_class($this), 'validateTag']], Loading