interface OnlyOnePrintStrategyInterface in Allow a content type only once (Only One) 8
Interface OnlyOnePrintStrategyInterface.
Hierarchy
- interface \Drupal\onlyone\OnlyOnePrintStrategyInterface
Expanded class hierarchy of OnlyOnePrintStrategyInterface
All classes that implement OnlyOnePrintStrategyInterface
1 file declares its use of OnlyOnePrintStrategyInterface
- OnlyOneTest.php in tests/
src/ Unit/ OnlyOneTest.php
File
- src/
OnlyOnePrintStrategyInterface.php, line 8
Namespace
Drupal\onlyoneView source
interface OnlyOnePrintStrategyInterface {
/**
* Return a list of content types for print.
*
* @param object[] $content_types
* A multidimensional array of content types objects.
*
* @return array
* An array of content types to print keyed by content type machine name.
*/
public function getContentTypesListForPrint(array $content_types);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OnlyOnePrintStrategyInterface:: |
public | function | Return a list of content types for print. | 2 |