public function UserRestrictionTypeManagerInterface::getType in User restrictions 8
Get a single plugin instance.
Parameters
string $id: The plugin ID.
Return value
\Drupal\user_restrictions\Plugin\UserRestrictionTypeInterface The UserRestrictionType plugin instance.
1 method overrides UserRestrictionTypeManagerInterface::getType()
- UserRestrictionTypeManager::getType in src/
UserRestrictionTypeManager.php - Get a single plugin instance.
File
- src/
UserRestrictionTypeManagerInterface.php, line 27
Class
- UserRestrictionTypeManagerInterface
- Defines the interface for the UserRestrictionTypeManager.
Namespace
Drupal\user_restrictionsCode
public function getType($id);