You are here

public function ColorData::getValue in Color API 8

Gets the data value.

Return value

mixed The data value.

Overrides Map::getValue

File

src/Plugin/DataType/ColorData.php, line 38

Class

ColorData
Provides the Color Typed Data type.

Namespace

Drupal\colorapi\Plugin\DataType

Code

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