Implements ComplexDataInterface::getPropertyDefinitions().
Overrides Map::getPropertyDefinitions
public function getPropertyDefinitions() {
if (!isset(self::$propertyDefinitions)) {
self::$propertyDefinitions['url'] = array(
'type' => 'uri',
'label' => t('URL'),
);
self::$propertyDefinitions['title'] = array(
'type' => 'string',
'label' => t('Link text'),
);
self::$propertyDefinitions['attributes'] = array(
'type' => 'map',
'label' => t('Attributes'),
);
}
return self::$propertyDefinitions;
}