72 if ( !$this->allBlockActions ) {
73 $this->allBlockActions = self::CORE_BLOCK_ACTIONS;
74 $this->hookRunner->onGetAllBlockActions( $this->allBlockActions );
76 if ( count( $this->allBlockActions ) !== count( array_unique( $this->allBlockActions ) ) ) {
77 throw new UnexpectedValueException(
'Blockable action IDs not unique' );
79 return $this->allBlockActions;