<?php
 namespace ModStart\Field; class Image extends AbstractField { protected $width = 80; protected function setup() { $this->addVariables([ 'server' => modstart_admin_url('data/file_manager'), ]); } public function server($server) { $this->addVariables(['server' => $server]); return $this; } }