You are here

public function OnlyOneInterface::getAvailableContentTypes in Allow a content type only once (Only One) 8

Return the available content types.

Return value

array An array with the available content types machine name.

1 method overrides OnlyOneInterface::getAvailableContentTypes()
OnlyOne::getAvailableContentTypes in src/OnlyOne.php
Return the available content types.

File

src/OnlyOneInterface.php, line 62

Class

OnlyOneInterface
Interface OnlyOneInterface.

Namespace

Drupal\onlyone

Code

public function getAvailableContentTypes();