Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / forum / src / Form / ContainerForm.php
index d12d0982a340a8f627b41d7dd2cf42266ca944f7..0b011245743192d2bc99a61ff37a599cf8a6255a 100644 (file)
@@ -20,9 +20,8 @@ class ContainerForm extends ForumForm {
    * {@inheritdoc}
    */
   public function form(array $form, FormStateInterface $form_state) {
-    $taxonomy_term = $this->entity;
     // Build the bulk of the form from the parent forum form.
-    $form = parent::form($form, $form_state, $taxonomy_term);
+    $form = parent::form($form, $form_state);
 
     // Set the title and description of the name field.
     $form['name']['#title'] = $this->t('Container name');