コード例 #1
0
ファイル: View.php プロジェクト: DrupalTV/DrupalTV
 /**
  * {@inheritdoc}
  */
 public function defaultConfiguration()
 {
     return array('view' => NULL, 'view_display' => NULL) + parent::defaultConfiguration();
 }
コード例 #2
0
ファイル: EntityForm.php プロジェクト: DrupalTV/DrupalTV
 /**
  * {@inheritdoc}
  */
 public function defaultConfiguration()
 {
     return array('entity_type' => NULL, 'bundle' => NULL) + parent::defaultConfiguration();
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  */
 public function defaultConfiguration()
 {
     return ['upload_location' => 'public://', 'dropzone_description' => t('Drop files here to upload them'), 'max_filesize' => file_upload_max_size() / pow(Bytes::KILOBYTE, 2) . 'M', 'extensions' => 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'] + parent::defaultConfiguration();
 }
コード例 #4
0
ファイル: Upload.php プロジェクト: DrupalTV/DrupalTV
 /**
  * {@inheritdoc}
  */
 public function defaultConfiguration()
 {
     return ['upload_location' => 'public://'] + parent::defaultConfiguration();
 }
コード例 #5
0
ファイル: DummyWidget.php プロジェクト: nB-MDSO/mdso-d8blog
 /**
  * {@inheritdoc}
  */
 public function defaultConfiguration()
 {
     return ['text' => ''] + parent::defaultConfiguration();
 }