interface ForwardLinkBuilderInterface in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardLinkBuilderInterface.php \Drupal\forward\ForwardLinkBuilderInterface
- 8.2 src/ForwardLinkBuilderInterface.php \Drupal\forward\ForwardLinkBuilderInterface
Defines an interface for building a Forward link on an entity.
Hierarchy
- interface \Drupal\forward\ForwardLinkBuilderInterface
Expanded class hierarchy of ForwardLinkBuilderInterface
All classes that implement ForwardLinkBuilderInterface
3 files declare their use of ForwardLinkBuilderInterface
- ForwardLink.php in src/
Plugin/ DsField/ ForwardLink.php - ForwardLink.php in src/
Plugin/ views/ field/ ForwardLink.php - ForwardLinkBlock.php in src/
Plugin/ Block/ ForwardLinkBlock.php - Contains \Drupal\forward\Plugin\Block\ForwardLinkBlock.
File
- src/
ForwardLinkBuilderInterface.php, line 10
Namespace
Drupal\forwardView source
interface ForwardLinkBuilderInterface {
/**
* Builds a Forward link for a given entity.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* Entity for which the link is being built.
* @param array $settings
* Array of settings.
*
* @return array
* A render array for the link.
*/
public function buildForwardEntityLink(EntityInterface $entity, array $settings);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ForwardLinkBuilderInterface:: |
public | function | Builds a Forward link for a given entity. | 1 |