You are here

public function OgGroupAlwaysTrue::getValue in Organic groups 8

Gets the data value.

Return value

mixed The data value.

Overrides PrimitiveBase::getValue

1 call to OgGroupAlwaysTrue::getValue()
OgGroupAlwaysTrue::getCastedValue in src/OgGroupAlwaysTrue.php
Gets the primitive data value casted to the correct PHP type.

File

src/OgGroupAlwaysTrue.php, line 17

Class

OgGroupAlwaysTrue
Overridden boolean data type to hardcode TRUE.

Namespace

Drupal\og

Code

public function getValue() {
  return TRUE;
}