You are here

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

Delete the content type config variable.

Parameters

string $content_type: Content type machine name.

Return value

bool Return TRUE if the content type config was deleted or FALSE if not exists.

1 method overrides OnlyOneInterface::deleteContentTypeConfig()
OnlyOne::deleteContentTypeConfig in src/OnlyOne.php
Delete the content type config variable.

File

src/OnlyOneInterface.php, line 43

Class

OnlyOneInterface
Interface OnlyOneInterface.

Namespace

Drupal\onlyone

Code

public function deleteContentTypeConfig($content_type);