You are here

protected function DashboardEditForm::buildDashboard in Draggable dashboard 8

Builds the path used by the form.

Parameters

int|null $did: Either the unique path ID, or NULL if a new one is being created.

Overrides DashboardFormBase::buildDashboard

File

src/Form/DashboardEditForm.php, line 24

Class

DashboardEditForm
Provides the draggable dashboard edit form.

Namespace

Drupal\draggable_dashboard\Form

Code

protected function buildDashboard($did) {
  return DashboardEntity::load($did);
}