interface ContactInterface

Same name in other branches
  1. 8.x-1.x content_entity_example/src/ContactInterface.php \Drupal\content_entity_example\ContactInterface
  2. 4.0.x modules/content_entity_example/src/ContactInterface.php \Drupal\content_entity_example\ContactInterface

Provides an interface defining a Contact entity.

We have this interface so we can join the other interfaces it extends.

Hierarchy

  • interface \Drupal\Core\Entity\ContentEntityInterface extends \Drupal\Core\Entity\Traversable \Drupal\Core\Entity\FieldableEntityInterface \Drupal\Core\Entity\TranslatableRevisionableInterface \Drupal\Core\Entity\SynchronizableInterface; interface \Drupal\Core\Entity\EntityChangedInterface extends \Drupal\Core\Entity\EntityInterface; interface \Drupal\user\EntityOwnerInterface
    • interface \Drupal\content_entity_example\ContactInterface extends \Drupal\Core\Entity\ContentEntityInterface \Drupal\user\EntityOwnerInterface \Drupal\Core\Entity\EntityChangedInterface

Expanded class hierarchy of ContactInterface

All classes that implement ContactInterface

Related topics

1 file declares its use of ContactInterface
Contact.php in modules/content_entity_example/src/Entity/Contact.php

File

modules/content_entity_example/src/ContactInterface.php, line 16

Namespace

Drupal\content_entity_example
View source
interface ContactInterface extends ContentEntityInterface, EntityOwnerInterface, EntityChangedInterface {

}