public function ColorItemInterface::getColorName in Color API 8
Retrieve the human-readable name of the color.
Return value
string The human-readable name of the color.
1 method overrides ColorItemInterface::getColorName()
- ColorItem::getColorName in src/
Plugin/ Field/ FieldType/ ColorItem.php - Retrieve the human-readable name of the color.
File
- src/
Plugin/ Field/ FieldType/ ColorItemInterface.php, line 30
Class
- ColorItemInterface
- Interface for Field API Color items.
Namespace
Drupal\colorapi\Plugin\Field\FieldTypeCode
public function getColorName();