public function DsFieldInterface::entity in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/DsField/DsFieldInterface.php \Drupal\ds\Plugin\DsField\DsFieldInterface::entity()
- 8.3 src/Plugin/DsField/DsFieldInterface.php \Drupal\ds\Plugin\DsField\DsFieldInterface::entity()
Gets the current entity.
Return value
\Drupal\Core\Entity\EntityInterface The current entity.
1 method overrides DsFieldInterface::entity()
- DsFieldBase::entity in src/
Plugin/ DsField/ DsFieldBase.php - Gets the current entity.
File
- src/
Plugin/ DsField/ DsFieldInterface.php, line 67
Class
- DsFieldInterface
- Defines a common interface for all ds field plugins.
Namespace
Drupal\ds\Plugin\DsFieldCode
public function entity();