app/helpers/geoblacklight_helper.rb
##
# Returns an SVG icon or empty HTML span element
# @return [SVG or HTML tag]
Returns an SVG icon or empty HTML span element
Returns an SVG icon or empty HTML span element
def geoblacklight_icon(name)
    icon_name = name ? name.to_s.parameterize : 'none'
    begin
      icon = blacklight_icon(icon_name)
      queue_icon_aria_label(icon_name)
      icon
    rescue Blacklight::Exceptions::IconNotFound
      tag.span class: 'icon-missing geoblacklight-none'
    end
  end
def geoblacklight_icon ( name ) icon_name = name ? name . to_s . parameterize : 'none' begin icon = blacklight_icon ( icon_name ) queue_icon_aria_label ( icon_name ) icon rescue Blacklight :: Exceptions :: IconNotFound tag . span class : 'icon-missing geoblacklight-none' end end
Returns an SVG icon or empty HTML span element
Returns an SVG icon or empty HTML span element
# Add icon info to queue after icon instantiated successfully
None
SVG or HTML tag
name
<not_specific>