This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-24 17:24:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Drupal\opencase\Plugin\Block;
|
|
|
|
|
|
|
|
use Drupal\Core\Block\BlockBase;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Provides a Block with some help text about actor type fields
|
|
|
|
*
|
|
|
|
* @Block(
|
|
|
|
* id = "actor_type_help",
|
|
|
|
* admin_label = @Translation("Actor Type Help"),
|
|
|
|
* category = @Translation("Help"),
|
|
|
|
* )
|
|
|
|
*/
|
|
|
|
class ActorTypeHelp extends BlockBase {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*/
|
|
|
|
public function build() {
|
|
|
|
return array(
|
|
|
|
'#markup' => "
|
2018-11-09 16:14:48 +00:00
|
|
|
<h3>All person types have contact details fields by default. Other fields can be added and managed here.</h3>
|
2018-10-24 17:24:20 +00:00
|
|
|
|
|
|
|
"
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|