Class: SirTrevorRails::Blocks::SolrDocumentsEmbedBlock

Inherits:
SolrDocumentsBlock show all
Defined in:
app/models/sir_trevor_rails/blocks/solr_documents_embed_block.rb

Overview

Embed documents (using a special blacklight view configuration) and text block

Constant Summary

Constants inherited from SirTrevorRails::Block

SirTrevorRails::Block::DEFAULT_FORMAT

Instance Attribute Summary

Attributes inherited from SolrDocumentsBlock

#solr_helper

Attributes inherited from SirTrevorRails::Block

#parent, #type

Class Method Summary collapse

Methods inherited from SolrDocumentsBlock

#document_caption, #documents, #documents?, #each_document, #null_display_field_class, #primary_caption?, #primary_caption_field, #secondary_caption?, #secondary_caption_field, #show_primary_caption?, #show_secondary_caption?, #with_solr_helper, #zpr_link?

Methods included from Displayable

#item_ids, #items, #ordered_items

Methods included from Textable

#content_align, #text, #text?, #text_align

Methods inherited from SirTrevorRails::Block

#alt_text?, #as_json, block_class, block_class!, custom_block_type_alt_text_settings, custom_block_types, #format, from_hash, #initialize, #to_partial_path, type_klass

Constructor Details

This class inherits a constructor from SirTrevorRails::Block

Class Method Details

.alt_text?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/models/sir_trevor_rails/blocks/solr_documents_embed_block.rb', line 8

def self.alt_text?
  false
end