You are here

public function GroupContentEnablerBase::getPrettyPathKey in Group 8

Returns the pretty path key for use in path aliases.

Return value

string The plugin-provided pretty path key, defaults to 'content'.

Overrides GroupContentEnablerInterface::getPrettyPathKey

File

src/Plugin/GroupContentEnablerBase.php, line 104

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

public function getPrettyPathKey() {
  return $this->pluginDefinition['pretty_path_key'];
}