You are here

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

Returns a content type label list.

Return value

array An associative array with the content type machine name as key and it label as value.

1 method overrides OnlyOneInterface::getContentTypesList()
OnlyOne::getContentTypesList in src/OnlyOne.php
Returns a content type label list.

File

src/OnlyOneInterface.php, line 17

Class

OnlyOneInterface
Interface OnlyOneInterface.

Namespace

Drupal\onlyone

Code

public function getContentTypesList();