/** * @inheritdoc */ public function visit(TreeNodeInterface $node, &$data) { if ($this->getContentTypeIdentifier($node) !== 'ezmatrix') { return null; } $type = new MatrixType(); return $type->fromHash($data); }
/** * @inheritdoc */ public function visit(TreeNodeInterface $node, &$data) { if ($this->getContentTypeIdentifier($node) !== 'ezmatrix') { return null; } $type = new MatrixType(); return $type->fromHash($data); }