You are here

public function FilterFormatInterface::getPermissionName in Drupal 8

Same name and namespace 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()

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();