public function EmbedButtonInterface::getIconFile in Embed 8
Returns the button's icon file.
Return value
\Drupal\file\FileInterface The file entity of the button icon.
Deprecated
in embed:8.x-1.2 and is removed from embed:2.0.0. Use \Drupal\embed\EmbedButtonInterface::getIconUrl() instead.
See also
https://www.drupal.org/project/embed/issues/3039598
1 method overrides EmbedButtonInterface::getIconFile()
- EmbedButton::getIconFile in src/
Entity/ EmbedButton.php - Returns the button's icon file.
File
- src/
EmbedButtonInterface.php, line 68
Class
- EmbedButtonInterface
- Provides an interface defining a embed button entity.
Namespace
Drupal\embedCode
public function getIconFile();