Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Drupal\crm; |
6 | |
7 | use Drupal\Core\Config\Entity\ConfigEntityInterface; |
8 | use Drupal\Core\Entity\EntityDescriptionInterface; |
9 | |
10 | /** |
11 | * Interface for CRM contact type entities. |
12 | */ |
13 | interface CrmContactDetailTypeInterface extends ConfigEntityInterface, EntityDescriptionInterface { |
14 | |
15 | /** |
16 | * Determines whether the contact detail type is locked. |
17 | * |
18 | * @return string|false |
19 | * The module name that locks the type or FALSE. |
20 | */ |
21 | public function isLocked(); |
22 | |
23 | /** |
24 | * Gets the description. |
25 | * |
26 | * @return string |
27 | * The description of this contact detail type. |
28 | */ |
29 | public function getDescription(); |
30 | |
31 | } |