public static function EmbedButtonInterface::convertEncodedDataToImage in Embed 8
Convert image encoded data to a file on the filesystem.
Parameters
array $data: An array of data about the encoded image including:
- uri: The URI of the file.
- data: The base-64 encoded contents of the file.
Return value
string An image file URI.
1 method overrides EmbedButtonInterface::convertEncodedDataToImage()
- EmbedButton::convertEncodedDataToImage in src/
Entity/ EmbedButton.php - Convert image encoded data to a file on the filesystem.
File
- src/
EmbedButtonInterface.php, line 105
Class
- EmbedButtonInterface
- Provides an interface defining a embed button entity.
Namespace
Drupal\embedCode
public static function convertEncodedDataToImage(array $data);