public function PathFieldSerializer::__construct in Acquia Content Hub 8.2
PathFieldSerializer constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $manager: The entity type manager.
File
- src/
EventSubscriber/ SerializeContentField/ PathFieldSerializer.php, line 31
Class
- PathFieldSerializer
- Serializes path fields.
Namespace
Drupal\acquia_contenthub\EventSubscriber\SerializeContentFieldCode
public function __construct(EntityTypeManagerInterface $manager) {
$this->manager = $manager;
}