You are here

public static function OgGroupAudienceHelperInterface::isGroupAudienceField in Organic groups 8

Returns TRUE if field is a group audience type.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition object.

Return value

bool TRUE if the field is a group audience type, FALSE otherwise.

1 method overrides OgGroupAudienceHelperInterface::isGroupAudienceField()
OgGroupAudienceHelper::isGroupAudienceField in src/OgGroupAudienceHelper.php
Returns TRUE if field is a group audience type.

File

src/OgGroupAudienceHelperInterface.php, line 46

Class

OgGroupAudienceHelperInterface
Interface for a service that deals with group audience fields.

Namespace

Drupal\og

Code

public static function isGroupAudienceField(FieldDefinitionInterface $field_definition);