protected function detailsForPlatform() { $details = parent::detailsForPlatform(); if (isset($details[$this->fieldLabel('Username')])) { unset($details[$this->fieldLabel('Username')]); } return [$this->fieldLabel('Location') => $this->LocationName, $this->fieldLabel('Address') => $this->LocationAddress, $this->fieldLabel('PlaceId') => $this->Username]; }
protected function detailsForPlatform() { return array_diff_key(array_merge(parent::detailsForPlatform(), [$this->fieldLabel('Page') => $this->Page()->Title]), ['Username' => '']); }
protected function detailsForPlatform() { return array_merge(parent::detailsForPlatform(), [$this->fieldLabel('Type') => $this->Type]); }