public function KeyInterface::setPlugin in Key 8
Sets a plugin of the requested type and plugin ID.
Parameters
string $type: The plugin type.
string $id: The plugin ID.
1 method overrides KeyInterface::setPlugin()
- Key::setPlugin in src/
Entity/ Key.php - Sets a plugin of the requested type and plugin ID.
File
- src/
KeyInterface.php, line 47
Class
- KeyInterface
- Provides an interface defining a Key entity.
Namespace
Drupal\keyCode
public function setPlugin($type, $id);