/**
* {@inheritdoc}
*/
public function getDescription() { return $this->
t('All customizations will be removed. This action cannot be undone.'
);
} /**
* {@inheritdoc}
*/
public function getCancelUrl() { return $this->sectionStorage->
getRedirectUrl();
} /**
* {@inheritdoc}
*/
public function buildForm(array
$form, FormStateInterface
$form_state, SectionStorageInterface
$section_storage = NULL
) { if (!
$section_storage instanceof DefaultsSectionStorageInterface
) { throw new \
InvalidArgumentException(sprintf('The section storage with type "%s" and ID "%s" does not provide defaults',
$section_storage->
getStorageType(),
$section_storage->
getStorageId()));
} $this->sectionStorage =
$section_storage;