You are here

public function GroupRelationInterface::getContentTypeConfigId in Group 2.0.x

Returns a safe, unique configuration ID for a group content type.

By default we use GROUP_TYPE_ID-PLUGIN_ID-DERIVATIVE_ID, but feel free to use any other means of identifying group content types.

Please do not return any invalid characters in the ID as it will crash the website. Refer to ConfigBase::validateName() for valid characters.

Return value

string The safe ID to use as the configuration name.

See also

\Drupal\Core\Config\ConfigBase::validateName()

1 method overrides GroupRelationInterface::getContentTypeConfigId()
GroupRelationBase::getContentTypeConfigId in src/Plugin/Group/Relation/GroupRelationBase.php
Returns a safe, unique configuration ID for a group content type.

File

src/Plugin/Group/Relation/GroupRelationInterface.php, line 154

Class

GroupRelationInterface
Defines an interface for pluggable GroupRelation back-ends.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getContentTypeConfigId();