function MessageInterface::isPersonal

Same name in other branches
  1. 8.9.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::isPersonal()
  2. 10 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::isPersonal()
  3. 11.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::isPersonal()

Returns TRUE if this is the personal contact form.

Return value

bool TRUE if the message bundle is personal.

1 method overrides MessageInterface::isPersonal()
Message::isPersonal in core/modules/contact/src/Entity/Message.php
Returns TRUE if this is the personal contact form.

File

core/modules/contact/src/MessageInterface.php, line 106

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function isPersonal();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.