本文整理汇总了PHP中Drupal\Core\Field\FieldItemBase::defaultInstanceSettings方法的典型用法代码示例。如果您正苦于以下问题:PHP FieldItemBase::defaultInstanceSettings方法的具体用法?PHP FieldItemBase::defaultInstanceSettings怎么用?PHP FieldItemBase::defaultInstanceSettings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Drupal\Core\Field\FieldItemBase
的用法示例。
在下文中一共展示了FieldItemBase::defaultInstanceSettings方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
return array('backend' => 'geofield_backend_default') + parent::defaultInstanceSettings();
}
示例2: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
return array('test_instance_setting' => 'dummy test string', 'test_cached_data' => FALSE) + parent::defaultInstanceSettings();
}
示例3: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
return array('min' => '', 'max' => '', 'prefix' => '', 'suffix' => '') + parent::defaultInstanceSettings();
}
示例4: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
return array('title' => DRUPAL_OPTIONAL, 'link_type' => LinkItemInterface::LINK_GENERIC) + parent::defaultInstanceSettings();
}
示例5: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
return array('default_mode' => CommentManagerInterface::COMMENT_MODE_THREADED, 'per_page' => 50, 'form_location' => COMMENT_FORM_BELOW, 'anonymous' => COMMENT_ANONYMOUS_MAYNOT_CONTACT, 'preview' => DRUPAL_OPTIONAL) + parent::defaultInstanceSettings();
}
示例6: defaultInstanceSettings
/**
* {@inheritdoc}
*/
public static function defaultInstanceSettings()
{
$settings = parent::defaultInstanceSettings();
$settings['text_processing'] = 0;
return $settings;
}