Skip to content
Embed.php 757 B
Newer Older
 * Definition of Drupal\views\Plugin\views\display\Embed.
namespace Drupal\views\Plugin\views\display;
use Drupal\Component\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;

/**
 * The plugin that handles an embed display.
 *
 * @ingroup views_display_plugins
 *
 * @todo: Wait until annotations/plugins support access mehtods.
 * no_ui => !config('views.settings')->get('ui.show.display_embed'),
Bram Goffings's avatar
Bram Goffings committed
 *   id = "embed",
 *   title = @Translation("Embed"),
 *   help = @Translation("Provide a display which can be embedded using the views api."),
 *   theme = "views_view",
 */
class Embed extends DisplayPluginBase {
  // This display plugin does nothing apart from exist.