You are here

public function SocialPost::getPluginId in Social Post 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/SocialPost.php \Drupal\social_post\Entity\SocialPost::getPluginId()

Gets implementer used to create the record.

Return value

string Implementer's name.

File

src/Entity/SocialPost.php, line 76

Class

SocialPost
Defines the Social Post entity.

Namespace

Drupal\social_post\Entity

Code

public function getPluginId() : string {
  return $this
    ->get('plugin_id')->value;
}