You are here

public function ColorInterface::getHexadecimal in Color API 8

Same name in this branch
  1. 8 src/Entity/ColorInterface.php \Drupal\colorapi\Entity\ColorInterface::getHexadecimal()
  2. 8 src/Plugin/DataType/ColorInterface.php \Drupal\colorapi\Plugin\DataType\ColorInterface::getHexadecimal()

Retrieve the hexadecimal color string representation of the color.

Return value

string The hexadecimal string representation of the color.

1 method overrides ColorInterface::getHexadecimal()
ColorData::getHexadecimal in src/Plugin/DataType/ColorData.php
Retrieve the hexadecimal color string representation of the color.

File

src/Plugin/DataType/ColorInterface.php, line 30

Class

ColorInterface
Interface for the Typed Data Color Complex Data type.

Namespace

Drupal\colorapi\Plugin\DataType

Code

public function getHexadecimal();