public function Entity::getDefaultIconUrl in Entity 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
- src/
Plugin/ EmbedType/ Entity.php, line 275
Class
- Entity
- Entity embed type.
Namespace
Drupal\entity_embed\Plugin\EmbedTypeCode
public function getDefaultIconUrl() {
return file_create_url(drupal_get_path('module', 'entity_embed') . '/js/plugins/drupalentity/entity.png');
}