src/Page/Page.php
protected function getSettingPlaceholder(FieldTypeInterface $setting): array
    {
        $placeholder = $setting->getOption('placeholder');

        if (is_null($placeholder)) {
            return [];
        }

        return [$setting->getName() => $placeholder];
    }
protected function getSettingPlaceholder(FieldTypeInterface $setting): array
    {
        $placeholder = $setting->getOption('placeholder');

        if (is_null($placeholder)) {
            return [];
        }

        return [$setting->getName() => $placeholder];
    }
protected function getSettingPlaceholder ( FieldTypeInterface $ setting ) : array { $ placeholder = $ setting -> getOption ( 'placeholder' ) ; if ( is_null ( $ placeholder ) ) { return [ ] ; } return [ $ setting -> getName ( ) => $ placeholder ] ; }
Return the setting placeholder.

@param FieldTypeInterface $setting

@return array
Return the setting placeholder .