You are here

public static function Contributor::getNameParts in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/Contributor.php \Drupal\bibcite_entity\Entity\Contributor::getNameParts()

List machine names of entity fields which contain name parts.

Return value

string[] List of fields machine names.

Overrides ContributorInterface::getNameParts

3 calls to Contributor::getNameParts()
ContributorSelection::buildEntityQuery in modules/bibcite_entity/src/Plugin/EntityReferenceSelection/ContributorSelection.php
Builds an EntityQuery to get referenceable entities.
ContributorSettings::buildForm in modules/bibcite_entity/src/Form/ContributorSettings.php
Form constructor.
ParseNameWidget::submit in modules/bibcite_entity/src/Plugin/Field/FieldWidget/ParseNameWidget.php
Widget submit callback for the "Parse" button.

File

modules/bibcite_entity/src/Entity/Contributor.php, line 356

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public static function getNameParts() {
  return self::NAME_PARTS;
}