protected function UIOverrideProvider::getGroupedFields in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/UIOverrideProvider.php \Drupal\bibcite_entity\UIOverrideProvider::getGroupedFields()
Get array of grouped fields.
2 calls to UIOverrideProvider::getGroupedFields()
- UIOverrideProvider::referenceFormDetailsRestructure in modules/
bibcite_entity/ src/ UIOverrideProvider.php - Restructure form elements to the details view.
- UIOverrideProvider::referenceFormTabsRestructure in modules/
bibcite_entity/ src/ UIOverrideProvider.php - Restructure form elements to the vertical tabs view.
File
- modules/
bibcite_entity/ src/ UIOverrideProvider.php, line 190
Class
- UIOverrideProvider
- Collection of hardcoded overrides for reference form and view.
Namespace
Drupal\bibcite_entityCode
protected function getGroupedFields() {
return [
'authors' => [
'title' => $this
->t('Authors'),
'elements' => [
'author',
],
],
'abstract' => [
'title' => $this
->t('Abstract'),
'elements' => [
'bibcite_abst_e',
'bibcite_abst_f',
],
],
'publication' => [
'title' => $this
->t('Publication'),
'elements' => [
'bibcite_year',
'bibcite_secondary_title',
'bibcite_volume',
'bibcite_edition',
'bibcite_section',
'bibcite_issue',
'bibcite_number_of_volumes',
'bibcite_number',
'bibcite_pages',
'bibcite_date',
'bibcite_type_of_work',
'bibcite_lang',
'bibcite_reprint_edition',
],
],
'publisher' => [
'title' => $this
->t('Publisher'),
'elements' => [
'bibcite_publisher',
'bibcite_place_published',
],
],
'identifiers' => [
'title' => $this
->t('Identifiers'),
'elements' => [
'bibcite_issn',
'bibcite_isbn',
'bibcite_accession_number',
'bibcite_call_number',
'bibcite_other_number',
'bibcite_citekey',
'bibcite_pmid',
],
],
'locators' => [
'title' => $this
->t('Locators'),
'elements' => [
'bibcite_url',
'bibcite_doi',
],
],
'notes' => [
'title' => $this
->t('Notes'),
'elements' => [
'bibcite_notes',
'bibcite_research_notes',
],
],
'alternate_titles' => [
'title' => $this
->t('Alternative titles'),
'elements' => [
'bibcite_tertiary_title',
'bibcite_short_title',
'bibcite_alternate_title',
'bibcite_translated_title',
'bibcite_original_publication',
],
],
'other' => [
'title' => $this
->t('Other'),
'elements' => [
'keywords',
'bibcite_other_author_affiliations',
'bibcite_custom1',
'bibcite_custom2',
'bibcite_custom3',
'bibcite_custom4',
'bibcite_custom5',
'bibcite_custom6',
'bibcite_custom7',
'bibcite_remote_db_name',
'bibcite_remote_db_provider',
'bibcite_auth_address',
'bibcite_label',
'bibcite_access_date',
'bibcite_refereed',
],
],
];
}