function ReferenceBase::entityId
Same name in other branches
- 9 core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php \Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase::entityId()
- 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php \Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase::entityId()
Gets the name of the field property which holds the entity ID.
Return value
string The entity id.
1 call to ReferenceBase::entityId()
- ReferenceBase::defineValueProcessPipeline in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ ReferenceBase.php - Apply any custom processing to the field bundle migrations.
4 methods override ReferenceBase::entityId()
- NodeReference::entityId in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ d6/ NodeReference.php - Gets the name of the field property which holds the entity ID.
- NodeReference::entityId in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ d7/ NodeReference.php - Gets the name of the field property which holds the entity ID.
- UserReference::entityId in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ d6/ UserReference.php - Gets the name of the field property which holds the entity ID.
- UserReference::entityId in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ d7/ UserReference.php - Gets the name of the field property which holds the entity ID.
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ ReferenceBase.php, line 28
Class
- ReferenceBase
- Base class for Drupal reference fields.
Namespace
Drupal\migrate_drupal\Plugin\migrate\fieldCode
protected abstract function entityId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.