interface PrevnextServiceInterface in Prevnext 8
Same name and namespace in other branches
- 2.x src/PrevnextServiceInterface.php \Drupal\prevnext\PrevnextServiceInterface
- 2.0.x src/PrevnextServiceInterface.php \Drupal\prevnext\PrevnextServiceInterface
Interface PrevnextServiceInterface.
@package Drupal\prevnext
Hierarchy
- interface \Drupal\prevnext\PrevnextServiceInterface
Expanded class hierarchy of PrevnextServiceInterface
All classes that implement PrevnextServiceInterface
File
- src/
PrevnextServiceInterface.php, line 11
Namespace
Drupal\prevnextView source
interface PrevnextServiceInterface {
/**
* Retrieves previous and next nids of a given node, if they exist.
*
* @param \Drupal\node\Entity\Node $node
* The node entity.
*
* @return array
* An array of prev/next nids of given node.
*/
public function getPreviousNext(Node $node);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrevnextServiceInterface:: |
public | function | Retrieves previous and next nids of a given node, if they exist. | 1 |