public function DataPolicyInformController::title in Data Policy 8
Title of an information block.
Parameters
string $informblock: The 'informblock' entity ID.
Return value
string The label of entity.
1 string reference to 'DataPolicyInformController::title'
File
- src/
Controller/ DataPolicyInformController.php, line 39
Class
- DataPolicyInformController
- Class DataPolicyInformController.
Namespace
Drupal\data_policy\ControllerCode
public function title($informblock) {
return InformBlock::load($informblock)
->label();
}