public function ForwardLinkBuilderInterface::buildForwardEntityLink in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardLinkBuilderInterface.php \Drupal\forward\ForwardLinkBuilderInterface::buildForwardEntityLink()
- 8.2 src/ForwardLinkBuilderInterface.php \Drupal\forward\ForwardLinkBuilderInterface::buildForwardEntityLink()
Builds a Forward link for a given entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: Entity for which the link is being built.
array $settings: Array of settings.
Return value
array A render array for the link.
1 method overrides ForwardLinkBuilderInterface::buildForwardEntityLink()
- ForwardLinkBuilder::buildForwardEntityLink in src/
ForwardLinkBuilder.php - Builds a Forward link for a given entity.
File
- src/
ForwardLinkBuilderInterface.php, line 23
Class
- ForwardLinkBuilderInterface
- Defines an interface for building a Forward link on an entity.
Namespace
Drupal\forwardCode
public function buildForwardEntityLink(EntityInterface $entity, array $settings);