86 if ( !$this->allBlockActions ) {
87 $this->allBlockActions = self::CORE_BLOCK_ACTIONS;
88 $this->hookRunner->onGetAllBlockActions( $this->allBlockActions );
90 if ( count( $this->allBlockActions ) !== count( array_unique( $this->allBlockActions ) ) ) {
91 throw new UnexpectedValueException(
'Blockable action IDs not unique' );
93 return $this->allBlockActions;