Commit df0b92d3 authored by lauriii's avatar lauriii

Issue #2912636 by wengerk, valthebald, gido: Add @internal to schemaDefinition() methods

parent 60545700
......@@ -200,6 +200,8 @@ protected function catchException(\Exception $e) {
/**
* Defines the schema for the batch table.
*
* @internal
*/
public function schemaDefinition() {
return [
......
......@@ -461,6 +461,8 @@ protected function normalizeCid($cid) {
/**
* Defines the schema for the {cache_*} bin tables.
*
* @internal
*/
public function schemaDefinition() {
$schema = [
......
......@@ -163,6 +163,8 @@ protected function ensureTableExists() {
/**
* Defines the schema for the {cachetags} table.
*
* @internal
*/
public function schemaDefinition() {
$schema = [
......
......@@ -180,6 +180,8 @@ protected function ensureTableExists() {
/**
* Defines the schema for the configuration table.
*
* @internal
*/
protected static function schemaDefinition() {
$schema = [
......
......@@ -185,6 +185,8 @@ protected function catchException(\Exception $e) {
/**
* Defines the schema for the flood table.
*
* @internal
*/
public function schemaDefinition() {
return [
......
......@@ -239,6 +239,8 @@ protected function normalizeName($name) {
/**
* Defines the schema for the semaphore table.
*
* @internal
*/
public function schemaDefinition() {
return [
......
......@@ -1217,6 +1217,8 @@ protected function definitionFields() {
*
* @return array
* The schema API definition for the SQL storage table.
*
* @internal
*/
protected static function schemaDefinition() {
$schema = [
......
......@@ -406,6 +406,8 @@ protected function catchException(\Exception $e) {
/**
* Defines the schema for the {url_alias} table.
*
* @internal
*/
public static function schemaDefinition() {
return [
......
......@@ -277,6 +277,8 @@ protected function catchException(\Exception $e) {
/**
* Defines the schema for the queue table.
*
* @internal
*/
public function schemaDefinition() {
return [
......
......@@ -194,6 +194,8 @@ protected function ensureTableExists() {
*
* @return array
* The schema API definition for the SQL storage table.
*
* @internal
*/
protected function schemaDefinition() {
$schema = [
......
......@@ -126,6 +126,8 @@ protected function executeView($view, array $args = []) {
/**
* Returns the schema definition.
*
* @internal
*/
protected function schemaDefinition() {
return ViewTestData::schemaDefinition();
......
......@@ -131,6 +131,8 @@ protected function executeView(ViewExecutable $view, $args = []) {
/**
* Returns the schema definition.
*
* @internal
*/
protected function schemaDefinition() {
return ViewTestData::schemaDefinition();
......
......@@ -58,6 +58,8 @@ public static function createTestViews($class, array $modules) {
/**
* Returns the schema definition.
*
* @internal
*/
public static function schemaDefinition() {
$schema['views_test_data'] = [
......
......@@ -136,6 +136,8 @@ protected function executeView(ViewExecutable $view, $args = []) {
/**
* Returns the schema definition.
*
* @internal
*/
protected function schemaDefinition() {
return ViewTestData::schemaDefinition();
......
......@@ -290,6 +290,8 @@ protected function dataSet() {
/**
* Allow {views_test_data}.job to be NULL.
*
* @internal
*/
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
......
......@@ -39,6 +39,9 @@ public function viewsData() {
return $data;
}
/**
* {@inheritdoc}
*/
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
$schema['views_test_data']['fields']['description'] = [
......
......@@ -44,6 +44,8 @@ protected function setUpFixtures() {
* Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition().
*
* Adds a uid column to test the relationships.
*
* @internal
*/
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
......
......@@ -129,6 +129,8 @@ protected function executeView($view, array $args = []) {
/**
* Returns the schema definition.
*
* @internal
*/
protected function schemaDefinition() {
return ViewTestData::schemaDefinition();
......
......@@ -42,6 +42,8 @@ protected function setUp($import_test_views = TRUE) {
* Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition().
*
* Adds a uid column to test the relationships.
*
* @internal
*/
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment