Browse Source

phpcs fix

d9_islandora
ezoller 4 years ago
parent
commit
4a8f23d0d6
  1. 4
      src/Plugin/Condition/NodeReferencedByNode.php

4
src/Plugin/Condition/NodeReferencedByNode.php

@ -85,11 +85,11 @@ class NodeReferencedByNode extends ConditionPluginBase implements ContainerFacto
$options = array_combine($node_fields, $node_fields); $options = array_combine($node_fields, $node_fields);
$form['reference_field'] = [ $form['reference_field'] = [
'#type' => 'select', '#type' => 'select',
'#title' => t('Field to check for reference to this node'), '#title' => $this->t('Field to check for reference to this node'),
'#options' => $options, '#options' => $options,
'#default_value' => $this->configuration['reference_field'], '#default_value' => $this->configuration['reference_field'],
'#required' => TRUE, '#required' => TRUE,
'#description' => t("Machine name of field that should be checked for references to this node."), '#description' => $this->t("Machine name of field that should be checked for references to this node."),
]; ];
return parent::buildConfigurationForm($form, $form_state); return parent::buildConfigurationForm($form, $form_state);

Loading…
Cancel
Save