protected $moduleList;
/**
* {@inheritdoc}
*/
protected function permissionsByProvider(): array
{ return array_intersect_key( parent::
permissionsByProvider(),
array_flip($this->moduleList
) );
} /**
* Builds the user permissions administration form for a specific module(s).
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
* @param string $modules
* (optional) One or more module machine names, comma-separated.
*/