You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: collections_controller.rb
    path of file: ./repos/hyrax/app/controllers/hyrax/my
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  module My
    class CollectionsController < MyController
      configure_blacklight do |config|
        config.search_builder_class = Hyrax::My::CollectionsSearchBuilder
      end
      # Define collection specific filter facets.
      def self.configure_facets
        configure_blacklight do |config|
          # Name of pivot facet must match field name that use
    
      def self.configure_facets
        configure_blacklight do |config|
          # Name of pivot facet must match field name that uses helper_method
          config.add_facet_field Hyrax.config.collection_type_index_field,
                                 helper_method: :collection_type_label, limit: 5,
                                 pivot: ['has_model_ssim', Hyrax.config.collection_type_index_field],
                                 skip_item: ->(item) { Hyrax::ModelRegistry.collection_rdf_representations.include?(item.value) },
                                 label: I18n.t('hyrax.dashboard.my.heading.collection_type')
          # This causes AdminSets to also be shown with the Collection Type label
          config.add_facet_field 'has_model_ssim',
                                 label: I18n.t('hyrax.dashboard.my.heading.collection_type'),
                                 limit: 5, show: false
        end
      end