public function DsFieldTemplateInterface::getEntity in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/DsFieldTemplate/DsFieldTemplateInterface.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateInterface::getEntity()
- 8.2 src/Plugin/DsFieldTemplate/DsFieldTemplateInterface.php \Drupal\ds\Plugin\DsFieldTemplate\DsFieldTemplateInterface::getEntity()
Gets the entity this layout belongs too.
Return value
\Drupal\Core\Entity\EntityInterface The entity.
1 method overrides DsFieldTemplateInterface::getEntity()
- DsFieldTemplateBase::getEntity in src/
Plugin/ DsFieldTemplate/ DsFieldTemplateBase.php - Gets the entity this layout belongs too.
File
- src/
Plugin/ DsFieldTemplate/ DsFieldTemplateInterface.php, line 26
Class
- DsFieldTemplateInterface
- Defines a common interface for all ds field template plugins.
Namespace
Drupal\ds\Plugin\DsFieldTemplateCode
public function getEntity();