<?php

namespace Formatrica\Capability\Rules;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use Formatrica\Capability\Capabilities;

/** Save-path gate for the Pro heading field (fields.heading). */
final class Heading_Field_Rule extends Pro_Field_Type_Rule
{
    public function capability(): string
    {
        return Capabilities::FIELDS_HEADING;
    }

    protected function field_type(): string
    {
        return 'heading';
    }

    protected function feature_slug(): string
    {
        return 'heading_field';
    }
}
