You are here

public function GroupRelationBase::getPrettyPathKey in Group 2.0.x

Returns the pretty path key for use in path aliases.

Return value

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

Overrides GroupRelationInterface::getPrettyPathKey

File

src/Plugin/Group/Relation/GroupRelationBase.php, line 101

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

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