You are here

public function OnlyOne::getNotAvailableContentTypesForPrint in Allow a content type only once (Only One) 8

Return a list of non-available content types for print.

Return value

array An array of non-available content types to print keyed by content type machine name.

Overrides OnlyOneInterface::getNotAvailableContentTypesForPrint

File

src/OnlyOne.php, line 410

Class

OnlyOne
Class OnlyOne.

Namespace

Drupal\onlyone

Code

public function getNotAvailableContentTypesForPrint() {
  return $this->formatter
    ->getContentTypesListForPrint($this
    ->getNotAvailableContentTypesSummarized());
}