You are here

public function WebformContentCreatorInterface::checkMaxFieldSizeExceeded in Webform Content Creator 8

Same name and namespace in other branches
  1. 2.x src/WebformContentCreatorInterface.php \Drupal\webform_content_creator\WebformContentCreatorInterface::checkMaxFieldSizeExceeded()

Check if field maximum size is exceeded.

Parameters

array $fields: Content type fields.

string $k: Field machine name.

string $decValue: Decrypted value.

Return value

int 1 if maximum size is exceeded, otherwise return 0.

1 method overrides WebformContentCreatorInterface::checkMaxFieldSizeExceeded()
WebformContentCreatorEntity::checkMaxFieldSizeExceeded in src/Entity/WebformContentCreatorEntity.php
Check if field maximum size is exceeded.

File

src/WebformContentCreatorInterface.php, line 217

Class

WebformContentCreatorInterface
Provides an interface defining an Webform content creator entity.

Namespace

Drupal\webform_content_creator

Code

public function checkMaxFieldSizeExceeded(array $fields, $k, $decValue);