Skip to content
Snippets Groups Projects
Commit 3bd0bcec authored by Bram Goffings's avatar Bram Goffings
Browse files

Fixed changes for drupal alpha 4

parent bf67e105
No related branches found
Tags 8.x-2.0-beta1
No related merge requests found
Showing
with 12 additions and 11 deletions
......@@ -17,7 +17,7 @@ class ChangeLayoutForm extends FormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_change_layout';
}
......
......@@ -57,7 +57,7 @@ class EmergencyForm extends FormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_emergy_form';
}
......
......@@ -55,7 +55,7 @@ class SettingsForm extends ConfigFormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_admin_form';
}
......
......@@ -284,7 +284,7 @@ function ds_extras_entity_field_info_alter(&$info, $entity_type) {
$info['definitions']['ds_switch'] = array(
'label' => 'DS switch',
'description' => 'Holds the DS view mode of the node',
'type' => 'string_field',
'type' => 'field_item:string',
'settings' => array(
'default_value' => '',
),
......
......@@ -8,3 +8,4 @@ ds_ui.fields_task:
title: Fields
tab_root_id: ds.display_task
weight: 2
\ No newline at end of file
......@@ -5,7 +5,7 @@
* Contains \Drupal\ds_ui\Controller\FieldController.
*/
namespace Drupal\ds_ui\Routing;
namespace Drupal\ds_ui\Controller;
use Drupal\Core\Config\StorageInterface;
use Drupal\Core\Controller\ControllerBase;
......
......@@ -18,7 +18,7 @@ class BlockFieldForm extends FieldFormBase implements ContainerInjectionInterfac
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_field_form';
}
......
......@@ -17,7 +17,7 @@ class ClassesForm extends ConfigFormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_classes_form';
}
......
......@@ -17,7 +17,7 @@ class CodeFieldForm extends FieldFormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_field_form';
}
......
......@@ -80,7 +80,7 @@ class FieldDeleteForm extends ConfirmFormBase implements ContainerInjectionInter
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'field_delete_form';
}
......
......@@ -88,7 +88,7 @@ class FieldFormBase extends ConfigFormBase implements ContainerInjectionInterfac
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_custom_field_form';
}
......
......@@ -17,7 +17,7 @@ class PreprocessFieldForm extends FieldFormBase {
/**
* {@inheritdoc}
*/
public function getFormID() {
public function getFormId() {
return 'ds_field_form';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment