We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset::getContents()
Currently reading the contents of the JSON file is done manually (https://github.com/benjamminf/craft-embedded-assets/blob/master/src/Service.php#L109). Would be better to leverage the new Asset method introduced in 3.0.6 (https://github.com/craftcms/cms/blob/develop/src/elements/Asset.php#L915).
The text was updated successfully, but these errors were encountered:
#63 Simplified file reading and probably made it more robust
4fe7222
No branches or pull requests
Currently reading the contents of the JSON file is done manually (https://github.com/benjamminf/craft-embedded-assets/blob/master/src/Service.php#L109). Would be better to leverage the new Asset method introduced in 3.0.6 (https://github.com/craftcms/cms/blob/develop/src/elements/Asset.php#L915).
The text was updated successfully, but these errors were encountered: