public function TermParentSerializer::__construct in Acquia Content Hub 8.2
TermParentSerializer constructor.
Parameters
\Drupal\Core\Database\Connection $database: Database connection.
File
- src/
EventSubscriber/ SerializeContentField/ TermParentSerializer.php, line 30
Class
- TermParentSerializer
- Serializes taxonomy term field parents.
Namespace
Drupal\acquia_contenthub\EventSubscriber\SerializeContentFieldCode
public function __construct(Connection $database) {
$this->database = $database;
}