You are here

protected function EmbedButton::embedTypeManager in Embed 8

Gets the embed type plugin manager.

Return value

\Drupal\embed\EmbedType\EmbedTypeManager The embed type plugin manager.

File

src/Entity/EmbedButton.php, line 162

Class

EmbedButton
Defines the EmbedButton entity.

Namespace

Drupal\embed\Entity

Code

protected function embedTypeManager() {
  return \Drupal::service('plugin.manager.embed.type');
}