function MessageInterface::getSubject

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

Returns the message subject.

Return value

string The message subject.

1 method overrides MessageInterface::getSubject()
Message::getSubject in core/modules/contact/src/Entity/Message.php
Returns the message subject.

File

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

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function getSubject();

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