protected function getUpdateSelectParams(
        $updateSelect,
        $entity,
        $nameMethod = 'getName',
        $groupMethod = 'getLanguage'
    ) {
        $options = [
            'updateSelect' => $updateSelect,
            'id'           => $entity->getId(),
            'name'         => $entity->$nameMethod(),
        ];

        return $options;
    }
protected function getUpdateSelectParams(
        $updateSelect,
        $entity,
        $nameMethod = 'getName',
        $groupMethod = 'getLanguage'
    ) {
        $options = [
            'updateSelect' => $updateSelect,
            'id'           => $entity->getId(),
            'name'         => $entity->$nameMethod(),
        ];

        return $options;
    }
protected function getUpdateSelectParams ( $ updateSelect , $ entity , $ nameMethod = 'getName' , $ groupMethod = 'getLanguage' ) { $ options = [ 'updateSelect' => $ updateSelect , 'id' => $ entity -> getId ( ) , 'name' => $ entity -> $ nameMethod ( ) , ] ; return $ options ; }
Return array of options update select response.

@param string $updateSelect HTML id of the select
@param object $entity
@param string $nameMethod   name of the entity method holding the name
@param string $groupMethod  name of the entity method holding the select group

@return array
Return array of options update select response .