You are here

TableConfigInterface.php in Data 8

Namespace

Drupal\data\Entity

File

src/Entity/TableConfigInterface.php
View source
<?php

namespace Drupal\data\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for defining Data Table entities.
 */
interface TableConfigInterface extends ConfigEntityInterface {

  /**
   * Check if data table exists.
   *
   * @return bool
   */
  public function exists();

  /**
   * Create data table.
   *
   * @param array $table_definition
   * @return mixed
   */
  public function createTable();

}

Interfaces

Namesort descending Description
TableConfigInterface Provides an interface for defining Data Table entities.