public function ContributorCategoryListBuilder::buildForm in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/ContributorCategoryListBuilder.php \Drupal\bibcite_entity\ContributorCategoryListBuilder::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides DraggableListBuilder::buildForm
File
- modules/
bibcite_entity/ src/ ContributorCategoryListBuilder.php, line 44
Class
- ContributorCategoryListBuilder
- Provides a listing of Contributor category entities.
Namespace
Drupal\bibcite_entityCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
$form['category_list_description'] = [
'#type' => 'label',
'#title' => $this
->t('First value in the list is used as default contributor category.'),
];
return $form;
}