make capable with Drupal 9+
This commit is contained in:
1 parent
8c6e2723ff
commit
6bbb40d61d
1 file changed
+1
-1
@@ -190,7 +190,7 @@ class ReservationAddForm extends FormBase {
|
|||||||
|
|
||||||
//Specify the author.
|
//Specify the author.
|
||||||
$entry->uid = \Drupal::currentUser()->id();
|
$entry->uid = \Drupal::currentUser()->id();
|
||||||
// Perform some kind of data manipulation
|
// Perform some kind of data manipulation
|
||||||
$entry->title->value = $pname;
|
$entry->title->value = $pname;
|
||||||
$entry->field_person_name->value = $pname;
|
$entry->field_person_name->value = $pname;
|
||||||
$entry->field_person_phone->value = $phone;
|
$entry->field_person_phone->value = $phone;
|
||||||
|
|||||||
Reference in new issue
Block a user