function FilterFormatInterface::getPermissionName
Same name in other branches
- 8.9.x core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::getPermissionName()
- 10 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::getPermissionName()
- 11.x core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::getPermissionName()
Returns the machine-readable permission name for the text format.
Return value
string|bool The machine-readable permission name, or FALSE if the text format is malformed or is the fallback format (which is available to all users).
1 method overrides FilterFormatInterface::getPermissionName()
- FilterFormat::getPermissionName in core/
modules/ filter/ src/ Entity/ FilterFormat.php - Returns the machine-readable permission name for the text format.
File
-
core/
modules/ filter/ src/ FilterFormatInterface.php, line 54
Class
- FilterFormatInterface
- Provides an interface defining a filter format entity.
Namespace
Drupal\filterCode
public function getPermissionName();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.