You are here

EmbedTestDefault.php in Embed 8

File

tests/embed_test/src/Plugin/EmbedType/EmbedTestDefault.php
View source
<?php

namespace Drupal\embed_test\Plugin\EmbedType;

use Drupal\embed\EmbedType\EmbedTypeBase;

/**
 * Default test embed type.
 *
 * @EmbedType(
 *   id = "embed_test_default",
 *   label = @Translation("Default"),
 * )
 */
class EmbedTestDefault extends EmbedTypeBase {

  /**
   * {@inheritdoc}
   */
  public function getDefaultIconUrl() {
    return '/default.png';
  }

}

Classes

Namesort descending Description
EmbedTestDefault Default test embed type.