You are here

protected function DashboardManageForm::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

1 call to DashboardManageForm::buildDashboard()
DashboardManageForm::buildForm in src/Form/DashboardManageForm.php
Form constructor.

File

src/Form/DashboardManageForm.php, line 27

Class

DashboardManageForm
Provides the draggable dashboard edit form.

Namespace

Drupal\draggable_dashboard\Form

Code

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