<p>That's because those buttons are <code>ActionButtons</code> and they have actually nothing to do with statuses in general since the status is not a single field value nor is there a value in the DB that's called status. For example: the status of an entry depends on several different attributes like <code>expiryDate</code> or the date when it's published so there is no way to set those statuses via button there.</p>

<p>You'll need to register the action buttons for your element type. Just take a look at an entries <code>defineActions</code> function. </p>

CC BY-SA 4.0
2018-09-19T12:31:18.443Z
2018-09-19T12:39:51.617Z
2018-09-19T12:39:51.617Z
Robin Schambach
<p>So i have created my own Element Type and enabled statuses with the <code>hasStatuses()</code> method.</p>

<p>In the ControlPanel its shown that each element has its own status, but it cant be changed. See image below:
<a href="https://i.sstatic.net/G5dzk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/G5dzk.png" alt="enter image description here"></a></p>

<p>The checkboxes are missing to select the desired entry and then disable or enable it. Im crawling through the source code but i am not able to find a clue on how to enable this feature.</p>

<craft3><elementtype><modules>
How to enable changing the status of my own Element Type
# How to enable changing the status of my own Element Type

(Asked by: username_0 on 2018-09-19)

So i have created my own Element Type and enabled statuses with the `hasStatuses()` method.

In the ControlPanel its shown that each element has its own status, but it cant be changed. See image below:
[![enter image description here](https://i.sstatic.net/G5dzk.png)](https://i.sstatic.net/G5dzk.png)

The checkboxes are missing to select the desired entry and then disable or enable it. Im crawling through the source code but i am not able to find a clue on how to enable this feature.

**Tags:** craft3, elementtype, modules


---

## 1 answers

### Answer by username_1 on 2018-09-19. Score: 2 | Accepted answer

That's because those buttons are `ActionButtons` and they have actually nothing to do with statuses in general since the status is not a single field value nor is there a value in the DB that's called status. For example: the status of an entry depends on several different attributes like `expiryDate` or the date when it's published so there is no way to set those statuses via button there.

You'll need to register the action buttons for your element type. Just take a look at an entries `defineActions` function.


---

