Class: Kuhsaft::ColumnBrick

Inherits:
Brick
  • Object
show all
Includes:
BrickList
Defined in:
app/models/kuhsaft/column_brick.rb

Instance Method Summary collapse

Methods included from BrickList

#allowed_brick_types, #brick_types, #collect_fulltext, included, #to_brick_item_id, #to_brick_list_id, #uploader?, #user_can_add_childs?

Methods inherited from Brick

#available_display_styles, #backend_label, #brick_list_type, #cache_key, #has_siblings?, #parents, #partial_digest, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_class, #to_style_id, #translated_available_display_styles, #update_fulltext

Instance Method Details

#renders_own_childs?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'app/models/kuhsaft/column_brick.rb', line 18

def renders_own_childs?
  false
end

#user_can_delete?Boolean

Users should not be able to delete this brick through the UI

Returns:

  • (Boolean)


9
10
11
# File 'app/models/kuhsaft/column_brick.rb', line 9

def user_can_delete?
  false
end

#user_can_save?Boolean

No need to save

Returns:

  • (Boolean)


14
15
16
# File 'app/models/kuhsaft/column_brick.rb', line 14

def user_can_save?
  false
end