function FilterFormatInterface::getPermissionName

Same name in other branches
  1. 9 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::getPermissionName()
  2. 10 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::getPermissionName()
  3. 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\filter

Code

public function getPermissionName();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.