class Avo::BaseResource
def label
def label label_field&.value || model_title end
Included Modules
- Avo::BaseResource::ActionView::Helpers::UrlHelper
- Avo::BaseResource::Avo::Concerns::CanReplaceFields
- Avo::BaseResource::Avo::Concerns::HasEditableControls
- Avo::BaseResource::Avo::Concerns::HasFields
- Avo::BaseResource::Avo::Concerns::HasStimulusControllers
- Avo::BaseResource::Avo::Concerns::ModelClassConstantized
Extended Modules
Instance Methods
- # action
- # attached_file_fields
- # authorization
- # authorization
- # available_view_types
- # avatar
- # avatar_field
- # avatar_type
- # cache_hash
- # class_name_without_resource
- # default_panel_name
- # description
- # description_field
- # file_hash
- # fill_model
- # filter
- # find_record
- # find_scope
- # form_scope
- # get_action_arguments
- # get_actions
- # get_available_models
- # get_filter_arguments
- # get_filters
- # get_grid_fields
- # get_record_associations
- # grid
- # has_model_id?
- # hydrate
- # hydrate_model_with_default_values
- # initialize
- # label
- # label_field
- # model_class
- # model_id
- # model_key
- # model_name
- # model_title
- # name
- # navigation_label
- # order_actions
- # ordering_host
- # plural_name
- # query_scope
- # record
- # record_path
- # records_path
- # resource_description
- # route_key
- # scope
- # singular_model_key
- # singular_name
- # singular_route_key
- # translation_key
- # underscore_name
- # valid_association_name
- # valid_attachment_name
- # valid_model_class