You are here

ViewRevision.php in Config Entity Revisions 8.2

File

modules/view_revisions/src/Entity/ViewRevision.php
View source
<?php

namespace Drupal\view_revisions\Entity;

use Drupal\config_entity_revisions\ConfigEntityRevisionsConfigEntityInterface;
use Drupal\config_entity_revisions\ConfigEntityRevisionsConfigEntityTrait;
use Drupal\views\Entity\View;

/**
 * Class ViewRevision.
 *
 * @package Drupal\view_revisions\Entity
 */
class ViewRevision extends View implements ConfigEntityRevisionsConfigEntityInterface {
  use ConfigEntityRevisionsConfigEntityTrait;
  private $constants = [
    'module_name' => 'view_revisions',
    'config_entity_name' => 'view',
    'revisions_entity_name' => 'ViewRevision',
    'bundle_name' => 'view_revision',
    'setting_name' => 'view_revision_id',
    'title' => 'Views',
    'has_own_content' => FALSE,
    'admin_permission' => 'administer views',
    'has_canonical_url' => FALSE,
    'preview_form_id' => 'view_preview_form',
  ];

}

Classes

Namesort descending Description
ViewRevision Class ViewRevision.