public function OnlyOneInterface::getAvailableContentTypesSummarized in Allow a content type only once (Only One) 8
Return the available content types with their number of nodes.
Return value
array An array of objects with the available content types keyed by content type machine name.
1 method overrides OnlyOneInterface::getAvailableContentTypesSummarized()
- OnlyOne::getAvailableContentTypesSummarized in src/
OnlyOne.php - Return the available content types with their number of nodes.
File
- src/
OnlyOneInterface.php, line 79
Class
- OnlyOneInterface
- Interface OnlyOneInterface.
Namespace
Drupal\onlyoneCode
public function getAvailableContentTypesSummarized();