You are here

public function ConditionInterface::getMaxItemWeight in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/ConditionInterface.php \Drupal\business_rules\ConditionInterface::getMaxItemWeight()

Get the current max item weight.

Parameters

bool $success:

  • TRUE for items for condition succeed.
  • FALSE for items for condition fails.

Return value

int The current max item weight.

1 method overrides ConditionInterface::getMaxItemWeight()
Condition::getMaxItemWeight in src/Entity/Condition.php
Get the current max item weight.

File

src/ConditionInterface.php, line 73

Class

ConditionInterface
Provides an interface for defining Condition entities.

Namespace

Drupal\business_rules

Code

public function getMaxItemWeight($success = TRUE);