You are here

public function OgGroupAlwaysTrue::getCastedValue in Organic groups 8

Gets the primitive data value casted to the correct PHP type.

Return value

mixed

Overrides BooleanData::getCastedValue

File

src/OgGroupAlwaysTrue.php, line 24

Class

OgGroupAlwaysTrue
Overridden boolean data type to hardcode TRUE.

Namespace

Drupal\og

Code

public function getCastedValue() {
  return $this
    ->getValue();
}