# user-access-manager/2.3.13/src/Form/ValueSetFormElementValue.php

User Access Manager, version 2.3.13. 33 lines.

- Page: https://pluginprobe.com/plugins/user-access-manager/2.3.13/code/src/Form/ValueSetFormElementValue.php
- Raw: https://pluginprobe.com/plugins/user-access-manager/2.3.13/raw/src/Form/ValueSetFormElementValue.php
- Modified: 2026-07-14T06:51:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/user-access-manager/2.3.13/code/src/Form/ValueSetFormElementValue.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace UserAccessManager\Form;

class ValueSetFormElementValue
{
    use ValueTrait;
    use LabelTrait;

    public function __construct(mixed $value, string $label)
    {
        $this->value = $value;
        $this->label = $label;
    }

    /**
     * @var bool
     */
    private bool $isDisabled = false;

    public function markDisabled(): void
    {
        $this->isDisabled = true;
    }

    public function isDisabled(): bool
    {
        return $this->isDisabled;
    }
}

```
