The captcha will help to control bot and anonymous users content creation in websites. The captcha system makes will make a challenge for every user to confirm whether the user is human or not. These challenges are mainly used for avoiding spam content creations. In Drupal, there some contribute module will help to achieve captcha for Drupal sites.
In Drupal form alter help to alter the form content so we alter existing field, Add new fields and remove fields from existing form. The Drupal forms will support us to grouping the form fields. The below example demonstrate how to add or alter existing field into a group.
By default Http is included in Providers, to use Http in your application you have to add the HttpModule to your...
TCPDF is a PDF library for generating PDF for given content. The Library is open source available on https://tcpdf.org/. We can download that library to create PDF for our need. This article will demonstrate how to change default font style of TCPDF library with our custom TTF font file.
In English grammar, there is importance to display words with proper nouns. The Singular and Plural will help to display sentences with numeric count components. Singular means only one. Plural means more than one. In Drupal 8 we can format both singular and plural values by formatPlural() function of Transulation Modules.
The Hook system will provide alter any content from one function from another in Drupal. The Drupal 8 Hook implementation are invoked with help of Core Drupal class function of moduleHandler(). This function will provide the object to execute all hook functions to alter the content.
Apple’s launch this past June of Swift, a new programming language for writing iOS apps, created a great deal of buzz and excitement throughout the iOS developer community. Since its launch, many iOS developers have been struggling with the question of if, how, and when to transition from Objective-C to Swift. The answer to that question will of course be different for every team and every project.
Spring is arguably one of the most popular Java frameworks, and also a mighty beast to tame. While its basic concepts are fairly easy to grasp, becoming a strong Spring developer requires some time and effort. In this article we’ll cover some of the more common mistakes in Spring, specifically oriented towards web applications and Spring Boot.
The below is the sample code for strip a particular HTML element from given string HTML. Using this function we can able to get particular div, span, p, body, article,.. any HTML wrapped element by its class or id. This function accepts 4 parameters, HTML string to get particular Tag, Strip tag name, Identifier name Class or Id and Identifier Class name or Id name.
Rules are used for trigger any action based on some condition pass. The contribute module Rule is used to achieve this features. We can able to programatically create and update rule action and conditons. The function rules_config_load() helps to load rule object by its name. The rule object will return attributes of particular rule. Using the object of rule we can able to edit its values.