Issue #2343787 by tim-e: Fix use of get() and set() in ContactForm getters/setters.
parent
542980f0dc
commit
48e7c0254c
|
@ -81,14 +81,14 @@ class ContactForm extends ConfigEntityBundleBase implements ContactFormInterface
|
|||
* {@inheritdoc}
|
||||
*/
|
||||
public function getRecipients() {
|
||||
return $this->get('recipients');
|
||||
return $this->recipients;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setRecipients($recipients) {
|
||||
$this->set('recipients', $recipients);
|
||||
$this->recipients = $recipients;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@ -96,14 +96,14 @@ class ContactForm extends ConfigEntityBundleBase implements ContactFormInterface
|
|||
* {@inheritdoc}
|
||||
*/
|
||||
public function getReply() {
|
||||
return $this->get('reply');
|
||||
return $this->reply;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setReply($reply) {
|
||||
$this->set('reply', $reply);
|
||||
$this->reply = $reply;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@ -111,14 +111,14 @@ class ContactForm extends ConfigEntityBundleBase implements ContactFormInterface
|
|||
* {@inheritdoc}
|
||||
*/
|
||||
public function getWeight() {
|
||||
return $this->get('weight');
|
||||
return $this->weight;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setWeight($weight) {
|
||||
$this->set('weight', $weight);
|
||||
$this->weight = $weight;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue