Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function buildOptionsForm(&$form, FormStateInterface $form_state)
 {
     parent::buildOptionsForm($form, $form_state);
     $entity_type = $this->entityManager->getDefinition('user');
     $form['multiple']['#options'] = array(0 => $this->t('Single name', array('%type' => $entity_type->getLabel())), 1 => $this->t('One or more names separated by , or +', array('%type' => $entity_type->getLabel())));
 }