You are here

protected function PrivateMessageThreadMemberFormatter::getFieldName in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/PrivateMessageThreadMemberFormatter.php \Drupal\private_message\Plugin\Field\FieldFormatter\PrivateMessageThreadMemberFormatter::getFieldName()

Retrieve the name of the field.

1 call to PrivateMessageThreadMemberFormatter::getFieldName()
PrivateMessageThreadMemberFormatter::settingsForm in src/Plugin/Field/FieldFormatter/PrivateMessageThreadMemberFormatter.php
Returns a form to configure settings for the formatter.

File

src/Plugin/Field/FieldFormatter/PrivateMessageThreadMemberFormatter.php, line 266

Class

PrivateMessageThreadMemberFormatter
Defines the private message member field formatter.

Namespace

Drupal\private_message\Plugin\Field\FieldFormatter

Code

protected function getFieldName() {
  return $this->fieldDefinition
    ->getItemDefinition()
    ->getFieldDefinition()
    ->getName();
}