public static function ConvertNodes::getBaseTableNames in Convert Nodes 8
1 call to ConvertNodes::getBaseTableNames()
- ConvertNodesForm::convertNodes in src/
Form/ ConvertNodesForm.php
File
- src/
ConvertNodes.php, line 101
Class
- ConvertNodes
- ConvertNodes.
Namespace
Drupal\convert_nodesCode
public static function getBaseTableNames() {
$storage = \Drupal::service('entity_type.manager')
->getStorage('node');
// Get the names of the base tables.
$base_table_names = [];
$base_table_names[] = $storage
->getBaseTable();
$base_table_names[] = $storage
->getDataTable();
return $base_table_names;
}