diff --git a/src/Plugin/Condition/MediaHasMimetype.php b/src/Plugin/Condition/MediaHasMimetype.php index 62448221b..0e6fd0e81 100644 --- a/src/Plugin/Condition/MediaHasMimetype.php +++ b/src/Plugin/Condition/MediaHasMimetype.php @@ -103,7 +103,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#type' => 'textfield', '#title' => $this->t('Mime types'), '#default_value' => $this->configuration['mimetypes'], - '#required' => TRUE, '#maxlength' => 256, '#description' => $this->t('Comma-delimited list of Mime types (e.g. image/jpeg, video/mp4, etc...) that trigger the condition.'), ]; diff --git a/src/Plugin/Condition/NodeHasParent.php b/src/Plugin/Condition/NodeHasParent.php index 813fd00b1..3a979cd47 100644 --- a/src/Plugin/Condition/NodeHasParent.php +++ b/src/Plugin/Condition/NodeHasParent.php @@ -84,7 +84,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#type' => 'entity_autocomplete', '#title' => $this->t('Parent node'), '#default_value' => $this->entityTypeManager->getStorage('node')->load($this->configuration['parent_nid']), - '#required' => TRUE, '#description' => $this->t("Can be a collection node or a compound object."), '#target_type' => 'node', ]; diff --git a/src/Plugin/Condition/NodeHasTerm.php b/src/Plugin/Condition/NodeHasTerm.php index c5ab2b760..a8b0d0f87 100644 --- a/src/Plugin/Condition/NodeHasTerm.php +++ b/src/Plugin/Condition/NodeHasTerm.php @@ -111,7 +111,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#tags' => TRUE, '#default_value' => $default, '#target_type' => 'taxonomy_term', - '#required' => TRUE, '#selection_handler' => 'islandora:external_uri', ];