Commit f3f7e43e authored by catch's avatar catch
Browse files

Issue #2522950 by pguillard, LewisNyman: Taxonomy term reference settings...

Issue #2522950 by pguillard, LewisNyman: Taxonomy term reference settings form: "Vocabularies" and "Create referenced entities..." look related
parent 2bfd810d
......@@ -39,10 +39,11 @@ public function entityQueryAlter(SelectInterface $query) {
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form = parent::buildConfigurationForm($form, $form_state);
$form['target_bundles']['#title'] = $this->t('Vocabularies');
$form['target_bundles']['#title'] = $this->t('Available Vocabularies');
// @todo: Currently allow auto-create only on taxonomy terms.
$form['auto_create'] = array(
'#type' => 'checkbox',
'#weight' => -1,
'#title' => $this->t("Create referenced entities if they don't already exist"),
'#default_value' => isset($this->configuration['handler_settings']['auto_create']) ? $this->configuration['handler_settings']['auto_create'] : FALSE,
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment