Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
resolve (Field $field, $context, ResolveInfo $info, array $value=null, array $args=null) | |
Resolve data for product canonical URL
Definition at line 19 of file CanonicalUrl.php.
resolve | ( | Field | $field, |
$context, | |||
ResolveInfo | $info, | ||
array | $value = null , |
||
array | $args = null |
||
) |
Fetches the data from persistence models and format it according to the GraphQL schema.
\Magento\Framework\GraphQl\Config\Element\Field | $field | |
ContextInterface | $context | |
ResolveInfo | $info | |
array | null | $value | |
array | null | $args |
Implements ResolverInterface.
Definition at line 24 of file CanonicalUrl.php.