Forked from
project / ui_patterns
137 commits behind, 6 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ui_patterns.api.php 340 B
<?php
/**
* @file
* API file.
*/
/**
* Alter Hook for SDC Component definition.
*
* @param array $definitions
* SDC Component definitions.
*
* @see \Drupal\ui_patterns\ComponentPluginManager
*/
function hook_component_info_alter(array &$definitions) {
$definitions['COMPONENT_ID']['slots']['slot_name']["title"] = 'demo';
}