You are here

public function FlagInterface::setFlagTypePlugin in Flag 8.4

Set the flag type plugin.

Parameters

string $plugin_id: A string containing the flag type plugin ID.

1 method overrides FlagInterface::setFlagTypePlugin()
Flag::setFlagTypePlugin in src/Entity/Flag.php
Set the flag type plugin.

File

src/FlagInterface.php, line 98

Class

FlagInterface
Defines the interface for Flag entities.

Namespace

Drupal\flag

Code

public function setFlagTypePlugin($plugin_id);