Backend\Form\Type\MetaType::getSEOFollowChoiceTypeOptions PHP Method

getSEOFollowChoiceTypeOptions() private method

    private function getSEOFollowChoiceTypeOptions()
    {
        return ['expanded' => true, 'multiple' => false, 'choices' => array_combine(SEOFollow::getPossibleValues(), SEOFollow::getPossibleValues()), 'choice_label' => function ($SEOFollow) {
            if ($SEOFollow === SEOFollow::NONE) {
                return 'lbl.' . ucfirst($SEOFollow);
            }
            return $SEOFollow;
        }, 'data' => SEOFollow::NONE, 'choice_translation_domain' => true, 'required' => false, 'placeholder' => false, 'label_attr' => ['class' => 'radio-list']];
    }