Method: Scrivito::BasicWidget#container_field_name

Defined in:
app/cms/scrivito/basic_widget.rb

#container_field_nameString

Deprecated.

Returns the name of the ‘widgetlist’ field that references this widget.

Returns:

  • (String)

    the name of the attribute that references this widget.



335
336
337
338
339
340
# File 'app/cms/scrivito/basic_widget.rb', line 335

def container_field_name
  Scrivito::Deprecation.warn('Scrivito::BasicWidget#container_field_name is deprecated'\
    ' and will be removed in a future version.'\
    ' Please use Scrivito::BasicWidget#container_attribute_name instead.')
  container_attribute_name
end