public function RowManager::save in Data 8
Parameters
string $table_name: Table to operate on.
array $values: Associative array of field values, keyed by column names.
Return value
bool Result of save operation.
Overrides RowManagerInterface::save
File
- src/
RowManager.php, line 32
Class
- RowManager
- Class RowManager.
Namespace
Drupal\dataCode
public function save($table_name, array $values) {
$this->connection
->insert($table_name, $values);
}