final class RoleSettingsForm extends ConfigFormBase

Map groups in Microsoft 365 to Drupal roles.

Properties

protected EntityTypeManagerInterface $entityTypeManager

The entity type manager.

Methods

__construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, EntityTypeManagerInterface $entityTypeManager)

Constructs a RoleSettingsForm object.

array
buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

static 
create(ContainerInterface $container)

{@inheritdoc}

array
getEditableConfigNames()

{@inheritdoc}

string
getFormId()

{@inheritdoc}

void
submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Details

at line 36
__construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, EntityTypeManagerInterface $entityTypeManager)

Constructs a RoleSettingsForm object.

Parameters

ConfigFactoryInterface $config_factory

The config factory.

TypedConfigManagerInterface $typedConfigManager

The typed config manager.

EntityTypeManagerInterface $entityTypeManager

The entity type manager.

at line 73
array buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

Return Value

array

at line 48
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 66
protected array getEditableConfigNames()

{@inheritdoc}

Return Value

array

at line 59
string getFormId()

{@inheritdoc}

Return Value

string

at line 111
void submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

Return Value

void