You are here

public function SocialPost::getPluginId in Social Post 8.2

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

Gets implementer used to create the record.

Return value

string Impelementer's name.

File

src/Entity/SocialPost.php, line 75

Class

SocialPost
Defines the Social Post entity.

Namespace

Drupal\social_post\Entity

Code

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