class RowManager in Data 8
Class RowManager.
@package Drupal\data
Hierarchy
- class \Drupal\data\RowManager implements RowManagerInterface
Expanded class hierarchy of RowManager
1 string reference to 'RowManager'
1 service uses RowManager
File
- src/
RowManager.php, line 17
Namespace
Drupal\dataView source
class RowManager implements RowManagerInterface {
/** @var \Drupal\Core\Database\Connection */
protected $connection;
/**
* Constructor.
*/
public function __construct(Connection $connection) {
$this->connection = $connection;
}
/**
* {@inheritdoc}
*/
public function save($table_name, array $values) {
$this->connection
->insert($table_name, $values);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RowManager:: |
protected | property | @var \Drupal\Core\Database\Connection | |
RowManager:: |
public | function |
Overrides RowManagerInterface:: |
|
RowManager:: |
public | function | Constructor. |