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

#collect_fulltext, included, #to_brick_item_id, #to_brick_list_id, #user_can_add_childs?

Methods inherited from Brick

#backend_label, #brick_list_type, #parents, #set_locale, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_class, #to_style_id

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