Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions().
Overrides Map::getPropertyDefinitions
public function getPropertyDefinitions() {
if (!isset(static::$propertyDefinitions)) {
static::$propertyDefinitions['shape'] = array(
'type' => 'string',
'label' => t('Shape'),
);
static::$propertyDefinitions['color'] = array(
'type' => 'string',
'label' => t('Color'),
);
}
return static::$propertyDefinitions;
}