You are here

public function EmbedButton::getTypeId in Embed 8

Returns the associated embed type.

Return value

string Machine name of the embed type.

Overrides EmbedButtonInterface::getTypeId

2 calls to EmbedButton::getTypeId()
EmbedButton::getTypeLabel in src/Entity/EmbedButton.php
Returns the label of the associated embed type.
EmbedButton::getTypePlugin in src/Entity/EmbedButton.php
Returns the plugin of the associated embed type.

File

src/Entity/EmbedButton.php, line 90

Class

EmbedButton
Defines the EmbedButton entity.

Namespace

Drupal\embed\Entity

Code

public function getTypeId() {
  return $this->type_id;
}