ViewStorageInterface.php 697 Bytes
Newer Older
damiankloip's avatar
damiankloip committed
1 2 3
<?php

/**
tim.plunkett's avatar
tim.plunkett committed
4
 * @file
damiankloip's avatar
damiankloip committed
5 6 7 8 9
 * Definition of Drupal\views\ViewStorageInterface.
 */

namespace Drupal\views;

10
use Drupal\Core\Config\Entity\ConfigEntityInterface;
damiankloip's avatar
damiankloip committed
11 12 13 14

/**
 * Defines an interface for View storage classes.
 */
15
interface ViewStorageInterface extends ConfigEntityInterface {
16 17 18 19 20 21 22 23 24 25 26 27

  /**
   * Retrieves a specific display's configuration by reference.
   *
   * @param string $display_id
   *   The display ID to retrieve, e.g., 'default', 'page_1', 'block_2'.
   *
   * @return array
   *   A reference to the specified display configuration.
   */
  public function &getDisplay($display_id);

28 29 30 31
  /**
   * Add defaults to the display options.
   */
  public function mergeDefaultDisplaysOptions();
32

damiankloip's avatar
damiankloip committed
33
}