public function EmbedTestDefault::getDefaultIconUrl in Embed 8
Gets the default icon URL for the embed type.
Return value
string The URL to the default icon. Must have been passed through file_create_url() if the file is local.
Overrides EmbedTypeInterface::getDefaultIconUrl
See also
File
- tests/
embed_test/ src/ Plugin/ EmbedType/ EmbedTestDefault.php, line 20
Class
- EmbedTestDefault
- Default test embed type.
Namespace
Drupal\embed_test\Plugin\EmbedTypeCode
public function getDefaultIconUrl() {
return '/default.png';
}