public function Message::bundle

Overrides Drupal\Core\Entity\Entity::bundle().

Overrides Entity::bundle

1 call to Message::bundle()
Message::isPersonal in drupal/core/modules/contact/lib/Drupal/contact/Plugin/Core/Entity/Message.php
Return TRUE if this is the personal contact form.

File

drupal/core/modules/contact/lib/Drupal/contact/Plugin/Core/Entity/Message.php, line 110
Contains Drupal\contact\Plugin\Core\Entity\Message.

Class

Message
Defines the contact message entity.

Namespace

Drupal\contact\Plugin\Core\Entity

Code

public function bundle() {
  return $this->category;
}