interface NameInterface in Plug 7
Hierarchy
- interface \Drupal\plug_example\Plugin\name\NameInterface
Expanded class hierarchy of NameInterface
All classes that implement NameInterface
1 file declares its use of NameInterface
- NewAcme.php in modules/
plug_test/ src/ Plugin/ name/ NewAcme.php - Contains Drupal\plug_test\Plugin\name\NewAcme
File
- modules/
plug_example/ src/ Plugin/ name/ NameInterface.php, line 10 - Contains Drupal\plug_example\Plugin\name\NameInterface
Namespace
Drupal\plug_example\Plugin\nameView source
interface NameInterface {
/**
* Displays a name.
*
* @return string
* The name representation.
*/
public function displayName();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NameInterface:: |
public | function | Displays a name. | 1 |