You are here

public function Table::unlink in Data 8

Unlink this table from another table.

File

src/Table.php, line 563

Class

Table
Manages data access and manipulation for a single data table. Use data_create_table() or data_get_table() to instantiate an object from this class.

Namespace

Drupal\data

Code

public function unlink($left_table) {
  unset($this->meta['join'][$left_table]);
  $this
    ->update(array(
    'meta' => $this->meta,
  ));
}