public function OnlyOnePrintStrategyInterface::getContentTypesListForPrint in Allow a content type only once (Only One) 8
Return a list of content types for print.
Parameters
object[] $content_types: A multidimensional array of content types objects.
Return value
array An array of content types to print keyed by content type machine name.
2 methods override OnlyOnePrintStrategyInterface::getContentTypesListForPrint()
- OnlyOnePrintAdminPage::getContentTypesListForPrint in src/
OnlyOnePrintAdminPage.php - Return a list of content types for print.
- OnlyOnePrintDrush::getContentTypesListForPrint in src/
OnlyOnePrintDrush.php - Return a list of content types for print.
File
- src/
OnlyOnePrintStrategyInterface.php, line 19
Class
- OnlyOnePrintStrategyInterface
- Interface OnlyOnePrintStrategyInterface.
Namespace
Drupal\onlyoneCode
public function getContentTypesListForPrint(array $content_types);