eZ\Publish\Core\FieldType\Tests\DateAndTimeTest::getSettingsSchemaExpectation PHP Méthode

getSettingsSchemaExpectation() protected méthode

Returns the settings schema expected from the field type.
protected getSettingsSchemaExpectation ( ) : array
Résultat array
    protected function getSettingsSchemaExpectation()
    {
        return array('useSeconds' => array('type' => 'bool', 'default' => false), 'defaultType' => array('type' => 'choice', 'default' => DateAndTime::DEFAULT_EMPTY), 'dateInterval' => array('type' => 'dateInterval', 'default' => null));
    }