Skip to content
Snippets Groups Projects
Commit 3a996ba1 authored by spokje's avatar spokje
Browse files

get('foo')->getValue()

parent 74a008a9
No related branches found
No related tags found
No related merge requests found
......@@ -318,8 +318,8 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
public function preSave() {
parent::preSave();
$width = $this->get('width');
$height = $this->get('height');
$width = $this->get('width')->getValue();
$height = $this->get('height')->getValue();
// Determine the dimensions if necessary.
if ($this->entity && $this->entity instanceof EntityInterface) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment