Module: ThemeCheck::ShopifyLiquid::Filter

Extended by:
Filter
Included in:
Filter
Defined in:
lib/theme_check/shopify_liquid/filter.rb

Constant Summary collapse

LABELS_NOT_IN_SOURCE_INDEX =
[
  "h",
  "installments_pricing",
  "sentence",
  "t",
  "app_block_path_for",
  "dev_shop?",
  "app_extension_path_for",
  "global_block_type?",
  "app_block_path?",
  "app_extension_path?",
  "app_snippet_path?",
  "registration_uuid_from",
  "handle_from",
  "camelcase",
  "format_code",
  "handle",
  "encode_url_component",
  "recover_password_link",
  "delete_customer_address_link",
  "edit_customer_address_link",
  "cancel_customer_order_link",
  "unit",
  "weight",
  "paragraphize",
  "excerpt",
  "pad_spaces",
  "distance_from",
  "theme_url",
  "link_to_theme",
  "_online_store_editor_live_setting",
  "debug",
]

Instance Method Summary collapse

Instance Method Details

#labelsObject



43
44
45
# File 'lib/theme_check/shopify_liquid/filter.rb', line 43

def labels
  @labels ||= SourceIndex.filters.map(&:name) + LABELS_NOT_IN_SOURCE_INDEX
end